#[repr(C)]pub struct MemoryRegionIOMMUOps {
pub translate: Option<unsafe extern "C" fn(iommu: *mut MemoryRegion, addr: hwaddr, is_write: bool) -> IOMMUTLBEntry>,
pub get_min_page_size: Option<unsafe extern "C" fn(iommu: *mut MemoryRegion) -> u64>,
pub notify_flag_changed: Option<unsafe extern "C" fn(iommu: *mut MemoryRegion, old_flags: IOMMUNotifierFlag, new_flags: IOMMUNotifierFlag)>,
}Fields§
§translate: Option<unsafe extern "C" fn(iommu: *mut MemoryRegion, addr: hwaddr, is_write: bool) -> IOMMUTLBEntry>§get_min_page_size: Option<unsafe extern "C" fn(iommu: *mut MemoryRegion) -> u64>§notify_flag_changed: Option<unsafe extern "C" fn(iommu: *mut MemoryRegion, old_flags: IOMMUNotifierFlag, new_flags: IOMMUNotifierFlag)>Trait Implementations§
Source§impl Clone for MemoryRegionIOMMUOps
impl Clone for MemoryRegionIOMMUOps
Source§fn clone(&self) -> MemoryRegionIOMMUOps
fn clone(&self) -> MemoryRegionIOMMUOps
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 MemoryRegionIOMMUOps
impl Debug for MemoryRegionIOMMUOps
impl Copy for MemoryRegionIOMMUOps
Auto Trait Implementations§
impl Freeze for MemoryRegionIOMMUOps
impl RefUnwindSafe for MemoryRegionIOMMUOps
impl Send for MemoryRegionIOMMUOps
impl Sync for MemoryRegionIOMMUOps
impl Unpin for MemoryRegionIOMMUOps
impl UnwindSafe for MemoryRegionIOMMUOps
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