#[repr(u8)]pub enum PioSpiState {
Free = 0,
Writing = 1,
Reading = 2,
ReadingWriting = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for PioSpiState
impl Clone for PioSpiState
Source§fn clone(&self) -> PioSpiState
fn clone(&self) -> PioSpiState
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 moreimpl Copy for PioSpiState
Auto Trait Implementations§
impl Freeze for PioSpiState
impl RefUnwindSafe for PioSpiState
impl Send for PioSpiState
impl Sync for PioSpiState
impl Unpin for PioSpiState
impl UnwindSafe for PioSpiState
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