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 FromWire<WireBusType> for BusType
impl FromWire<WireBusType> for BusType
Source§fn from_wire(wire: WireBusType) -> Self
fn from_wire(wire: WireBusType) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireBusType> for BusType
impl FromWireRef<WireBusType> for BusType
Source§fn from_wire_ref(wire: &WireBusType) -> Self
fn from_wire_ref(wire: &WireBusType) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for WireBusType
impl PartialEq for WireBusType
Source§impl Wire for WireBusType
impl Wire for WireBusType
Source§type Decoded<'de> = WireBusType
type Decoded<'de> = WireBusType
The decoded 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 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