pub struct Track<S: TrackStep + Clone> {
pub number: usize,
pub variation: usize,
pub steps: Vec<S>,
pub swing: u8,
pub play_mode: u8,
pub track_speed: TrackSpeed,
pub is_default: bool,
/* private fields */
}Fields§
§number: usize§variation: usize§steps: Vec<S>§swing: u8§play_mode: u8§track_speed: TrackSpeed§is_default: boolImplementations§
Trait Implementations§
impl<S: TrackStep + Clone> StructuralPartialEq for Track<S>
Auto Trait Implementations§
impl<S> Freeze for Track<S>
impl<S> RefUnwindSafe for Track<S>where
S: RefUnwindSafe,
impl<S> Send for Track<S>where
S: Send,
impl<S> Sync for Track<S>where
S: Sync,
impl<S> Unpin for Track<S>where
S: Unpin,
impl<S> UnwindSafe for Track<S>where
S: UnwindSafe,
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