pub struct ConsumerLayersRef<'a>(/* private fields */);
Expand description
Reference to a deserialized ConsumerLayers.
Implementations§
Source§impl<'a> ConsumerLayersRef<'a>
impl<'a> ConsumerLayersRef<'a>
Sourcepub fn spatial_layer(&self) -> Result<u8>
pub fn spatial_layer(&self) -> Result<u8>
Getter for the spatial_layer
field.
Sourcepub fn temporal_layer(&self) -> Result<Option<u8>>
pub fn temporal_layer(&self) -> Result<Option<u8>>
Getter for the temporal_layer
field.
Trait Implementations§
Source§impl<'a> Clone for ConsumerLayersRef<'a>
impl<'a> Clone for ConsumerLayersRef<'a>
Source§fn clone(&self) -> ConsumerLayersRef<'a>
fn clone(&self) -> ConsumerLayersRef<'a>
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<'a> Debug for ConsumerLayersRef<'a>
impl<'a> Debug for ConsumerLayersRef<'a>
Source§impl<'a> ReadAsRoot<'a> for ConsumerLayersRef<'a>
impl<'a> ReadAsRoot<'a> for ConsumerLayersRef<'a>
Source§impl<'a> TryFrom<ConsumerLayersRef<'a>> for ConsumerLayers
impl<'a> TryFrom<ConsumerLayersRef<'a>> for ConsumerLayers
impl<'a> Copy for ConsumerLayersRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConsumerLayersRef<'a>
impl<'a> RefUnwindSafe for ConsumerLayersRef<'a>
impl<'a> Send for ConsumerLayersRef<'a>
impl<'a> Sync for ConsumerLayersRef<'a>
impl<'a> Unpin for ConsumerLayersRef<'a>
impl<'a> UnwindSafe for ConsumerLayersRef<'a>
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