pub struct Decoder<const D0: u8, const D1: u8, const D2: u8, const D3: u8, const CLK: u8, const CS: u8> {
pub cpol: bool,
pub cpha: bool,
pub data_mode: SpiDataMode,
}
Fields§
§cpol: bool
§cpha: bool
§data_mode: SpiDataMode
Implementations§
Auto Trait Implementations§
impl<const D0: u8, const D1: u8, const D2: u8, const D3: u8, const CLK: u8, const CS: u8> Freeze for Decoder<D0, D1, D2, D3, CLK, CS>
impl<const D0: u8, const D1: u8, const D2: u8, const D3: u8, const CLK: u8, const CS: u8> RefUnwindSafe for Decoder<D0, D1, D2, D3, CLK, CS>
impl<const D0: u8, const D1: u8, const D2: u8, const D3: u8, const CLK: u8, const CS: u8> Send for Decoder<D0, D1, D2, D3, CLK, CS>
impl<const D0: u8, const D1: u8, const D2: u8, const D3: u8, const CLK: u8, const CS: u8> Sync for Decoder<D0, D1, D2, D3, CLK, CS>
impl<const D0: u8, const D1: u8, const D2: u8, const D3: u8, const CLK: u8, const CS: u8> Unpin for Decoder<D0, D1, D2, D3, CLK, CS>
impl<const D0: u8, const D1: u8, const D2: u8, const D3: u8, const CLK: u8, const CS: u8> UnwindSafe for Decoder<D0, D1, D2, D3, CLK, CS>
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