pub struct AudioOptions {
pub auto_play: bool,
pub loop_playback: bool,
pub hide_during_show: bool,
pub play_across_slides: bool,
pub volume: u32,
}Expand description
Audio playback options
Fields§
§auto_play: boolAuto-play when slide is shown
loop_playback: boolLoop playback
hide_during_show: boolHide icon during playback
play_across_slides: boolPlay across slides
volume: u32Volume (0-100)
Implementations§
Source§impl AudioOptions
impl AudioOptions
Trait Implementations§
Source§impl Clone for AudioOptions
impl Clone for AudioOptions
Source§fn clone(&self) -> AudioOptions
fn clone(&self) -> AudioOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AudioOptions
impl Debug for AudioOptions
Auto Trait Implementations§
impl Freeze for AudioOptions
impl RefUnwindSafe for AudioOptions
impl Send for AudioOptions
impl Sync for AudioOptions
impl Unpin for AudioOptions
impl UnsafeUnpin for AudioOptions
impl UnwindSafe for AudioOptions
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