pub struct SdmmcBusWidth { /* private fields */ }Expand description
The wire type corresponding to SdmmcBusWidth.
Implementations§
Source§impl SdmmcBusWidth
impl SdmmcBusWidth
pub const ONE: SdmmcBusWidth
pub const FOUR: SdmmcBusWidth
pub const EIGHT: SdmmcBusWidth
pub const MAX: SdmmcBusWidth
Trait Implementations§
Source§impl Clone for SdmmcBusWidth
impl Clone for SdmmcBusWidth
Source§fn clone(&self) -> SdmmcBusWidth
fn clone(&self) -> SdmmcBusWidth
Returns a duplicate 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 Constrained for SdmmcBusWidth
impl Constrained for SdmmcBusWidth
Source§impl Debug for SdmmcBusWidth
impl Debug for SdmmcBusWidth
Source§impl<___D> Decode<___D> for SdmmcBusWidthwhere
___D: ?Sized,
impl<___D> Decode<___D> for SdmmcBusWidthwhere
___D: ?Sized,
Source§impl<'a, ___E> Encode<SdmmcBusWidth, ___E> for &'a SdmmcBusWidthwhere
___E: ?Sized,
impl<'a, ___E> Encode<SdmmcBusWidth, ___E> for &'a SdmmcBusWidthwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<SdmmcBusWidth>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<SdmmcBusWidth>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<SdmmcBusWidth, ___E> for SdmmcBusWidthwhere
___E: ?Sized,
impl<___E> Encode<SdmmcBusWidth, ___E> for SdmmcBusWidthwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<SdmmcBusWidth>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<SdmmcBusWidth>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<SdmmcBusWidth> for SdmmcBusWidth
impl From<SdmmcBusWidth> for SdmmcBusWidth
Source§fn from(wire: SdmmcBusWidth) -> Self
fn from(wire: SdmmcBusWidth) -> Self
Converts to this type from the input type.
Source§impl From<SdmmcBusWidth> for SdmmcBusWidth
impl From<SdmmcBusWidth> for SdmmcBusWidth
Source§fn from(natural: SdmmcBusWidth) -> Self
fn from(natural: SdmmcBusWidth) -> Self
Converts to this type from the input type.
Source§impl FromWire<SdmmcBusWidth> for SdmmcBusWidth
impl FromWire<SdmmcBusWidth> for SdmmcBusWidth
Source§fn from_wire(wire: SdmmcBusWidth) -> Self
fn from_wire(wire: SdmmcBusWidth) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<SdmmcBusWidth> for SdmmcBusWidth
impl FromWireRef<SdmmcBusWidth> for SdmmcBusWidth
Source§fn from_wire_ref(wire: &SdmmcBusWidth) -> Self
fn from_wire_ref(wire: &SdmmcBusWidth) -> Self
Converts the given reference to this type.
Source§impl IntoNatural for SdmmcBusWidth
impl IntoNatural for SdmmcBusWidth
Source§type Natural = SdmmcBusWidth
type Natural = SdmmcBusWidth
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl PartialEq for SdmmcBusWidth
impl PartialEq for SdmmcBusWidth
Source§impl Wire for SdmmcBusWidth
impl Wire for SdmmcBusWidth
Source§type Narrowed<'de> = SdmmcBusWidth
type Narrowed<'de> = SdmmcBusWidth
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for SdmmcBusWidth
impl Eq for SdmmcBusWidth
impl StructuralPartialEq for SdmmcBusWidth
Auto Trait Implementations§
impl Freeze for SdmmcBusWidth
impl RefUnwindSafe for SdmmcBusWidth
impl Send for SdmmcBusWidth
impl Sync for SdmmcBusWidth
impl Unpin for SdmmcBusWidth
impl UnwindSafe for SdmmcBusWidth
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,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]