#[repr(C)]pub struct DcfgSimplePio {
pub base: u16,
pub reserved: u16,
pub irq: u32,
}
Expand description
Used by ZBI_KERNEL_DRIVER_I8250_PIO_UART.
Fields§
§base: u16
§reserved: u16
§irq: u32
Trait Implementations§
Source§impl Clone for DcfgSimplePio
impl Clone for DcfgSimplePio
Source§fn clone(&self) -> DcfgSimplePio
fn clone(&self) -> DcfgSimplePio
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 DcfgSimplePio
impl Debug for DcfgSimplePio
Source§impl FromBytes for DcfgSimplePio
impl FromBytes for DcfgSimplePio
Source§impl FromZeros for DcfgSimplePio
impl FromZeros for DcfgSimplePio
Source§impl IntoBytes for DcfgSimplePio
impl IntoBytes for DcfgSimplePio
§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§impl PartialEq for DcfgSimplePio
impl PartialEq for DcfgSimplePio
Source§impl TryFromBytes for DcfgSimplePio
impl TryFromBytes for DcfgSimplePio
§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,
§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,
§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 Copy for DcfgSimplePio
impl Eq for DcfgSimplePio
impl StructuralPartialEq for DcfgSimplePio
Auto Trait Implementations§
impl Freeze for DcfgSimplePio
impl RefUnwindSafe for DcfgSimplePio
impl Send for DcfgSimplePio
impl Sync for DcfgSimplePio
impl Unpin for DcfgSimplePio
impl UnwindSafe for DcfgSimplePio
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§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
)