#[repr(u8)]pub enum PlayBackSource {
USB = 0,
SDCard = 1,
Aux = 2,
Sleep = 3,
Flash = 4,
}
Expand description
Media sources supported by the DFPlayer
Variants§
USB = 0
USB storage device
SDCard = 1
SD card
Aux = 2
Auxiliary input
Sleep = 3
Sleep mode (no source)
Flash = 4
Flash memory
Trait Implementations§
Source§impl Clone for PlayBackSource
impl Clone for PlayBackSource
Source§fn clone(&self) -> PlayBackSource
fn clone(&self) -> PlayBackSource
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 PlayBackSource
impl Debug for PlayBackSource
impl Copy for PlayBackSource
Auto Trait Implementations§
impl Freeze for PlayBackSource
impl RefUnwindSafe for PlayBackSource
impl Send for PlayBackSource
impl Sync for PlayBackSource
impl Unpin for PlayBackSource
impl UnwindSafe for PlayBackSource
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