Struct mediasoup_sys::fbs::audio_level_observer::VolumeRef
source · pub struct VolumeRef<'a>(/* private fields */);
Expand description
Reference to a deserialized Volume.
Implementations§
source§impl<'a> VolumeRef<'a>
impl<'a> VolumeRef<'a>
sourcepub fn producer_id(&self) -> Result<&'a str>
pub fn producer_id(&self) -> Result<&'a str>
Getter for the producer_id
field.
sourcepub fn volume(&self) -> Result<i8>
pub fn volume(&self) -> Result<i8>
Getter for the volume
field.
Trait Implementations§
source§impl<'a> ReadAsRoot<'a> for VolumeRef<'a>
impl<'a> ReadAsRoot<'a> for VolumeRef<'a>
impl<'a> Copy for VolumeRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VolumeRef<'a>
impl<'a> Send for VolumeRef<'a>
impl<'a> Sync for VolumeRef<'a>
impl<'a> Unpin for VolumeRef<'a>
impl<'a> UnwindSafe for VolumeRef<'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