#[repr(u8)]pub enum PlayBackMode {
Repeat = 0,
FolderRepeat = 1,
SingleRepeat = 2,
Random = 3,
}
Expand description
Playback modes supported by the DFPlayer
Variants§
Repeat = 0
Repeat all tracks
FolderRepeat = 1
Repeat tracks in current folder
SingleRepeat = 2
Repeat single track
Random = 3
Play tracks in random order
Trait Implementations§
Source§impl Clone for PlayBackMode
impl Clone for PlayBackMode
Source§fn clone(&self) -> PlayBackMode
fn clone(&self) -> PlayBackMode
Returns a copy 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 PlayBackMode
impl Debug for PlayBackMode
impl Copy for PlayBackMode
Auto Trait Implementations§
impl Freeze for PlayBackMode
impl RefUnwindSafe for PlayBackMode
impl Send for PlayBackMode
impl Sync for PlayBackMode
impl Unpin for PlayBackMode
impl UnwindSafe for PlayBackMode
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