pub struct WireBusType { /* private fields */ }
Expand description
The wire type corresponding to BusType
.
Implementations§
Source§impl WireBusType
impl WireBusType
pub const PLATFORM: WireBusType
pub const ACPI: WireBusType
pub const DEVICE_TREE: WireBusType
pub const PCI: WireBusType
pub const USB: WireBusType
pub const GPIO: WireBusType
pub const I2_C: WireBusType
pub const SPI: WireBusType
pub const SDIO: WireBusType
pub const UART: WireBusType
pub const SPMI: WireBusType
Trait Implementations§
Source§impl Clone for WireBusType
impl Clone for WireBusType
Source§fn clone(&self) -> WireBusType
fn clone(&self) -> WireBusType
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 WireBusType
impl Debug for WireBusType
Source§impl<___D> Decode<___D> for WireBusTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireBusTypewhere
___D: ?Sized,
Source§impl From<BusType> for WireBusType
impl From<BusType> for WireBusType
Source§impl From<WireBusType> for BusType
impl From<WireBusType> for BusType
Source§fn from(wire: WireBusType) -> Self
fn from(wire: WireBusType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireBusType
impl PartialEq for WireBusType
Source§impl TakeFrom<WireBusType> for BusType
impl TakeFrom<WireBusType> for BusType
Source§fn take_from(from: &WireBusType) -> Self
fn take_from(from: &WireBusType) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireBusType> for BusType
impl TakeFrom<WireBusType> for BusType
Source§fn take_from(from: &WireBusType) -> Self
fn take_from(from: &WireBusType) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireBusType
impl ZeroPadding for WireBusType
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 WireBusType
impl Eq for WireBusType
impl StructuralPartialEq for WireBusType
Auto Trait Implementations§
impl Freeze for WireBusType
impl RefUnwindSafe for WireBusType
impl Send for WireBusType
impl Sync for WireBusType
impl Unpin for WireBusType
impl UnwindSafe for WireBusType
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