pub struct PlayerConfig {
pub samples: Vec<f32>,
pub sample_rate: u32,
pub loop_start: Option<usize>,
pub end: Option<usize>,
}
Fields§
§samples: Vec<f32>
§sample_rate: u32
§loop_start: Option<usize>
§end: Option<usize>
Trait Implementations§
Source§impl Clone for PlayerConfig
impl Clone for PlayerConfig
Source§fn clone(&self) -> PlayerConfig
fn clone(&self) -> PlayerConfig
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 PlayerConfig
impl Debug for PlayerConfig
Source§impl PartialEq for PlayerConfig
impl PartialEq for PlayerConfig
impl StructuralPartialEq for PlayerConfig
Auto Trait Implementations§
impl Freeze for PlayerConfig
impl RefUnwindSafe for PlayerConfig
impl Send for PlayerConfig
impl Sync for PlayerConfig
impl Unpin for PlayerConfig
impl UnwindSafe for PlayerConfig
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