pub struct MmioHandler {
pub base_addr: u64,
pub size: u64,
pub device_id: u32,
}Expand description
MMIO region handler registration
Fields§
§base_addr: u64Base address of the MMIO region
size: u64Size of the MMIO region in bytes
device_id: u32Device identifier
Implementations§
Source§impl MmioHandler
impl MmioHandler
Trait Implementations§
Source§impl Clone for MmioHandler
impl Clone for MmioHandler
Source§fn clone(&self) -> MmioHandler
fn clone(&self) -> MmioHandler
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MmioHandler
impl Debug for MmioHandler
impl Copy for MmioHandler
Auto Trait Implementations§
impl Freeze for MmioHandler
impl RefUnwindSafe for MmioHandler
impl Send for MmioHandler
impl Sync for MmioHandler
impl Unpin for MmioHandler
impl UnwindSafe for MmioHandler
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)