pub struct SampleDef {
pub path: String,
pub root_midi: Option<u32>,
pub start_seconds: Option<f64>,
pub end_seconds: Option<f64>,
pub looped: bool,
}Expand description
sample "<path>" [root N] [start S] [end S] [loop].
Fields§
§path: String§root_midi: Option<u32>§start_seconds: Option<f64>§end_seconds: Option<f64>§looped: boolTrait Implementations§
impl StructuralPartialEq for SampleDef
Auto Trait Implementations§
impl Freeze for SampleDef
impl RefUnwindSafe for SampleDef
impl Send for SampleDef
impl Sync for SampleDef
impl Unpin for SampleDef
impl UnsafeUnpin for SampleDef
impl UnwindSafe for SampleDef
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