pub struct Deck {
pub id: DeckId,
pub bpm: f64,
pub playing: bool,
pub position_samples: i64,
pub beatgrid: Option<BeatGrid>,
pub sync_mode: SyncMode,
}Expand description
Minimal deck state for phase sync calculations.
Fields§
§id: DeckId§bpm: f64§playing: bool§position_samples: i64§beatgrid: Option<BeatGrid>§sync_mode: SyncModeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Deck
impl RefUnwindSafe for Deck
impl Send for Deck
impl Sync for Deck
impl Unpin for Deck
impl UnsafeUnpin for Deck
impl UnwindSafe for Deck
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