#[repr(C)]pub struct DcfgRiscvPlicDriver {
pub mmio_phys: u64,
pub num_irqs: u32,
pub reserved: u32,
}
Expand description
for ZBI_KERNEL_DRIVER_RISCV_PLIC
Fields§
§mmio_phys: u64
§num_irqs: u32
§reserved: u32
Trait Implementations§
Source§impl Clone for DcfgRiscvPlicDriver
impl Clone for DcfgRiscvPlicDriver
Source§fn clone(&self) -> DcfgRiscvPlicDriver
fn clone(&self) -> DcfgRiscvPlicDriver
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 DcfgRiscvPlicDriver
impl Debug for DcfgRiscvPlicDriver
Source§impl FromBytes for DcfgRiscvPlicDriver
impl FromBytes for DcfgRiscvPlicDriver
Source§impl FromZeros for DcfgRiscvPlicDriver
impl FromZeros for DcfgRiscvPlicDriver
Source§impl IntoBytes for DcfgRiscvPlicDriver
impl IntoBytes for DcfgRiscvPlicDriver
§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 DcfgRiscvPlicDriver
impl PartialEq for DcfgRiscvPlicDriver
Source§impl TryFromBytes for DcfgRiscvPlicDriver
impl TryFromBytes for DcfgRiscvPlicDriver
§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 DcfgRiscvPlicDriver
impl Eq for DcfgRiscvPlicDriver
impl StructuralPartialEq for DcfgRiscvPlicDriver
Auto Trait Implementations§
impl Freeze for DcfgRiscvPlicDriver
impl RefUnwindSafe for DcfgRiscvPlicDriver
impl Send for DcfgRiscvPlicDriver
impl Sync for DcfgRiscvPlicDriver
impl Unpin for DcfgRiscvPlicDriver
impl UnwindSafe for DcfgRiscvPlicDriver
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
)