Struct joycon_sys::spi::SPIReadResult
source · #[repr(packed(1))]pub struct SPIReadResult { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for SPIReadResult
impl Clone for SPIReadResult
source§fn clone(&self) -> SPIReadResult
fn clone(&self) -> SPIReadResult
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 SPIReadResult
impl Debug for SPIReadResult
source§impl TryFrom<SPIReadResult> for ControllerColor
impl TryFrom<SPIReadResult> for ControllerColor
§type Error = WrongRangeError
type Error = WrongRangeError
The type returned in the event of a conversion error.
source§impl TryFrom<SPIReadResult> for SensorCalibration
impl TryFrom<SPIReadResult> for SensorCalibration
§type Error = WrongRangeError
type Error = WrongRangeError
The type returned in the event of a conversion error.
source§impl TryFrom<SPIReadResult> for SticksCalibration
impl TryFrom<SPIReadResult> for SticksCalibration
§type Error = WrongRangeError
type Error = WrongRangeError
The type returned in the event of a conversion error.
source§impl TryFrom<SPIReadResult> for UseSPIColors
impl TryFrom<SPIReadResult> for UseSPIColors
§type Error = WrongRangeError
type Error = WrongRangeError
The type returned in the event of a conversion error.
source§impl TryFrom<SPIReadResult> for UserSensorCalibration
impl TryFrom<SPIReadResult> for UserSensorCalibration
§type Error = WrongRangeError
type Error = WrongRangeError
The type returned in the event of a conversion error.
source§impl TryFrom<SPIReadResult> for UserSticksCalibration
impl TryFrom<SPIReadResult> for UserSticksCalibration
§type Error = WrongRangeError
type Error = WrongRangeError
The type returned in the event of a conversion error.
impl Copy for SPIReadResult
Auto Trait Implementations§
impl Freeze for SPIReadResult
impl RefUnwindSafe for SPIReadResult
impl Send for SPIReadResult
impl Sync for SPIReadResult
impl Unpin for SPIReadResult
impl UnwindSafe for SPIReadResult
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