pub struct PlaybackPosition {
pub order: Option<u16>,
pub pattern: u8,
pub row: u16,
pub loop_active: bool,
}Fields§
§order: Option<u16>changes behaviour on pattern end and loop behaviour
pattern: u8§row: u16§loop_active: boolif order is Some this loops the whole song, otherwise it loops the set pattern
Trait Implementations§
Source§impl Clone for PlaybackPosition
impl Clone for PlaybackPosition
Source§fn clone(&self) -> PlaybackPosition
fn clone(&self) -> PlaybackPosition
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 PlaybackPosition
impl Debug for PlaybackPosition
Source§impl PartialEq for PlaybackPosition
impl PartialEq for PlaybackPosition
impl Copy for PlaybackPosition
impl Eq for PlaybackPosition
impl StructuralPartialEq for PlaybackPosition
Auto Trait Implementations§
impl Freeze for PlaybackPosition
impl RefUnwindSafe for PlaybackPosition
impl Send for PlaybackPosition
impl Sync for PlaybackPosition
impl Unpin for PlaybackPosition
impl UnwindSafe for PlaybackPosition
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