#[repr(C)]pub struct DevPathMsgUsb {
pub port: u8,
pub interface: u8,
}Fields§
§port: u8§interface: u8Trait Implementations§
Source§impl Debug for DevPathMsgUsb
impl Debug for DevPathMsgUsb
Source§impl FromBytes for DevPathMsgUsb
impl FromBytes for DevPathMsgUsb
Source§impl FromZeros for DevPathMsgUsb
impl FromZeros for DevPathMsgUsb
Source§impl IntoBytes for DevPathMsgUsb
impl IntoBytes for DevPathMsgUsb
Source§fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl PartialEq for DevPathMsgUsb
impl PartialEq for DevPathMsgUsb
Source§impl TryFromBytes for DevPathMsgUsbwhere
u8: TryFromBytes,
impl TryFromBytes for DevPathMsgUsbwhere
u8: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Immutable for DevPathMsgUsb
impl StructuralPartialEq for DevPathMsgUsb
Auto Trait Implementations§
impl Freeze for DevPathMsgUsb
impl RefUnwindSafe for DevPathMsgUsb
impl Send for DevPathMsgUsb
impl Sync for DevPathMsgUsb
impl Unpin for DevPathMsgUsb
impl UnwindSafe for DevPathMsgUsb
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