#[repr(C)]pub struct DcfgAmlogicRngDriver {
pub rng_data_phys: u64,
pub rng_status_phys: u64,
pub rng_refresh_interval_usec: u64,
}Expand description
for ZBI_KERNEL_DRIVER_AMLOGIC_RNG_V1 for ZBI_KERNEL_DRIVER_AMLOGIC_RNG_V2
Fields§
§rng_data_phys: u64§rng_status_phys: u64§rng_refresh_interval_usec: u64Trait Implementations§
Source§impl Clone for DcfgAmlogicRngDriver
impl Clone for DcfgAmlogicRngDriver
Source§fn clone(&self) -> DcfgAmlogicRngDriver
fn clone(&self) -> DcfgAmlogicRngDriver
Returns a duplicate 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 DcfgAmlogicRngDriver
impl Debug for DcfgAmlogicRngDriver
Source§impl FromBytes for DcfgAmlogicRngDriver
impl FromBytes for DcfgAmlogicRngDriver
Source§impl FromZeros for DcfgAmlogicRngDriver
impl FromZeros for DcfgAmlogicRngDriver
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl IntoBytes for DcfgAmlogicRngDriver
impl IntoBytes for DcfgAmlogicRngDriver
Source§impl PartialEq for DcfgAmlogicRngDriver
impl PartialEq for DcfgAmlogicRngDriver
Source§impl TryFromBytes for DcfgAmlogicRngDriverwhere
u64: TryFromBytes,
impl TryFromBytes for DcfgAmlogicRngDriverwhere
u64: 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 Copy for DcfgAmlogicRngDriver
impl Eq for DcfgAmlogicRngDriver
impl StructuralPartialEq for DcfgAmlogicRngDriver
Auto Trait Implementations§
impl Freeze for DcfgAmlogicRngDriver
impl RefUnwindSafe for DcfgAmlogicRngDriver
impl Send for DcfgAmlogicRngDriver
impl Sync for DcfgAmlogicRngDriver
impl Unpin for DcfgAmlogicRngDriver
impl UnwindSafe for DcfgAmlogicRngDriver
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