pub struct ConsumerLayers {
pub spatial_layer: u8,
pub temporal_layer: Option<u8>,
}
Expand description
The table ConsumerLayers
in the namespace FBS.Consumer
Generated from these locations:
- Table
ConsumerLayers
in the filefbs/consumer.fbs:8
Fields§
§spatial_layer: u8
The field spatial_layer
in the table ConsumerLayers
temporal_layer: Option<u8>
The field temporal_layer
in the table ConsumerLayers
Implementations§
Source§impl ConsumerLayers
impl ConsumerLayers
Sourcepub fn builder() -> ConsumerLayersBuilder<()>
pub fn builder() -> ConsumerLayersBuilder<()>
Creates a ConsumerLayersBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_spatial_layer: impl WriteAsDefault<u8, u8>, field_temporal_layer: impl WriteAsOptional<u8>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for ConsumerLayers
impl Clone for ConsumerLayers
Source§fn clone(&self) -> ConsumerLayers
fn clone(&self) -> ConsumerLayers
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConsumerLayers
impl Debug for ConsumerLayers
Source§impl Default for ConsumerLayers
impl Default for ConsumerLayers
Source§impl<'de> Deserialize<'de> for ConsumerLayers
impl<'de> Deserialize<'de> for ConsumerLayers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ConsumerLayers
impl Hash for ConsumerLayers
Source§impl Ord for ConsumerLayers
impl Ord for ConsumerLayers
Source§fn cmp(&self, other: &ConsumerLayers) -> Ordering
fn cmp(&self, other: &ConsumerLayers) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConsumerLayers
impl PartialEq for ConsumerLayers
Source§impl PartialOrd for ConsumerLayers
impl PartialOrd for ConsumerLayers
Source§impl Serialize for ConsumerLayers
impl Serialize for ConsumerLayers
Source§impl<'a> TryFrom<ConsumerLayersRef<'a>> for ConsumerLayers
impl<'a> TryFrom<ConsumerLayersRef<'a>> for ConsumerLayers
impl Eq for ConsumerLayers
impl StructuralPartialEq for ConsumerLayers
impl VectorWrite<Offset<ConsumerLayers>> for ConsumerLayers
impl WriteAs<Offset<ConsumerLayers>> for ConsumerLayers
impl WriteAsOffset<ConsumerLayers> for ConsumerLayers
impl<T0: WriteAsDefault<u8, u8>, T1: WriteAsOptional<u8>> WriteAsOffset<ConsumerLayers> for ConsumerLayersBuilder<(T0, T1)>
impl WriteAsOptional<Offset<ConsumerLayers>> for ConsumerLayers
Auto Trait Implementations§
impl Freeze for ConsumerLayers
impl RefUnwindSafe for ConsumerLayers
impl Send for ConsumerLayers
impl Sync for ConsumerLayers
impl Unpin for ConsumerLayers
impl UnwindSafe for ConsumerLayers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more