pub struct PlayOptions {
pub relative_volume: Volume,
}Fields§
§relative_volume: VolumeImplementations§
Source§impl PlayOptions
impl PlayOptions
pub fn apply_playing( &self, sink: &mut dyn AudioSinkDevice, group_float_volume: f32, ) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for PlayOptions
impl Clone for PlayOptions
Source§fn clone(&self) -> PlayOptions
fn clone(&self) -> PlayOptions
Returns a duplicate 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 PlayOptions
impl Debug for PlayOptions
Auto Trait Implementations§
impl Freeze for PlayOptions
impl RefUnwindSafe for PlayOptions
impl Send for PlayOptions
impl Sync for PlayOptions
impl Unpin for PlayOptions
impl UnsafeUnpin for PlayOptions
impl UnwindSafe for PlayOptions
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