Struct windows::Devices::Spi::SpiSharingMode
#[repr(transparent)]pub struct SpiSharingMode(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl SpiSharingMode
impl SpiSharingMode
pub const Exclusive: Self = _
Trait Implementations§
§impl Clone for SpiSharingMode
impl Clone for SpiSharingMode
§fn clone(&self) -> SpiSharingMode
fn clone(&self) -> SpiSharingMode
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 more§impl Debug for SpiSharingMode
impl Debug for SpiSharingMode
§impl Default for SpiSharingMode
impl Default for SpiSharingMode
§fn default() -> SpiSharingMode
fn default() -> SpiSharingMode
Returns the “default value” for a type. Read more
§impl PartialEq for SpiSharingMode
impl PartialEq for SpiSharingMode
§fn eq(&self, other: &SpiSharingMode) -> bool
fn eq(&self, other: &SpiSharingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpiSharingMode
impl Eq for SpiSharingMode
impl StructuralPartialEq for SpiSharingMode
Auto Trait Implementations§
impl Freeze for SpiSharingMode
impl RefUnwindSafe for SpiSharingMode
impl Send for SpiSharingMode
impl Sync for SpiSharingMode
impl Unpin for SpiSharingMode
impl UnwindSafe for SpiSharingMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)