Struct mediasoup_sys::fbs::consumer::LayersChangeNotificationRef
source · pub struct LayersChangeNotificationRef<'a>(/* private fields */);
Expand description
Reference to a deserialized LayersChangeNotification.
Implementations§
source§impl<'a> LayersChangeNotificationRef<'a>
impl<'a> LayersChangeNotificationRef<'a>
sourcepub fn layers(&self) -> Result<Option<ConsumerLayersRef<'a>>>
pub fn layers(&self) -> Result<Option<ConsumerLayersRef<'a>>>
Getter for the layers
field.
Trait Implementations§
source§impl<'a> Clone for LayersChangeNotificationRef<'a>
impl<'a> Clone for LayersChangeNotificationRef<'a>
source§fn clone(&self) -> LayersChangeNotificationRef<'a>
fn clone(&self) -> LayersChangeNotificationRef<'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 LayersChangeNotificationRef<'a>
impl<'a> Debug for LayersChangeNotificationRef<'a>
source§impl<'a> ReadAsRoot<'a> for LayersChangeNotificationRef<'a>
impl<'a> ReadAsRoot<'a> for LayersChangeNotificationRef<'a>
source§impl<'a> TryFrom<LayersChangeNotificationRef<'a>> for LayersChangeNotification
impl<'a> TryFrom<LayersChangeNotificationRef<'a>> for LayersChangeNotification
impl<'a> Copy for LayersChangeNotificationRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for LayersChangeNotificationRef<'a>
impl<'a> Send for LayersChangeNotificationRef<'a>
impl<'a> Sync for LayersChangeNotificationRef<'a>
impl<'a> Unpin for LayersChangeNotificationRef<'a>
impl<'a> UnwindSafe for LayersChangeNotificationRef<'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