pub struct SPIConfig {
pub clock_speed: u64,
pub cs_off: bool,
pub mosi_off: bool,
pub speed_hz: u64,
pub cpha: bool,
pub cpol: bool,
}Fields
clock_speed: u64cs_off: boolmosi_off: boolspeed_hz: u64cpha: boolcpol: boolTrait Implementations
sourceimpl From<SPIConfig> for SPIConfigDynamicMode
impl From<SPIConfig> for SPIConfigDynamicMode
sourceimpl Into<SPIConfig> for SPIConfigDynamicMode
impl Into<SPIConfig> for SPIConfigDynamicMode
impl Copy for SPIConfig
Auto Trait Implementations
impl RefUnwindSafe for SPIConfig
impl Send for SPIConfig
impl Sync for SPIConfig
impl Unpin for SPIConfig
impl UnwindSafe for SPIConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more