Struct panda_sys::MemoryRegion

source ·
#[repr(C, align(16))]
pub struct MemoryRegion {
Show 35 fields pub parent_obj: Object, pub romd_mode: bool, pub ram: bool, pub subpage: bool, pub readonly: bool, pub rom_device: bool, pub flush_coalesced_mmio: bool, pub global_locking: bool, pub dirty_log_mask: u8, pub ram_block: *mut RAMBlock, pub owner: *mut Object, pub iommu_ops: *const MemoryRegionIOMMUOps, pub ops: *const MemoryRegionOps, pub opaque: *mut c_void, pub container: *mut MemoryRegion, pub size: Int128, pub addr: hwaddr, pub destructor: Option<unsafe extern "C" fn(mr: *mut MemoryRegion)>, pub align: u64, pub terminates: bool, pub ram_device: bool, pub enabled: bool, pub warning_printed: bool, pub vga_logging_count: u8, pub alias: *mut MemoryRegion, pub alias_offset: hwaddr, pub priority: i32, pub subregions: MemoryRegion_subregions, pub subregions_link: MemoryRegion__bindgen_ty_1, pub coalesced: MemoryRegion_coalesced_ranges, pub name: *const c_char, pub ioeventfd_nb: c_uint, pub ioeventfds: *mut MemoryRegionIoeventfd, pub iommu_notify: MemoryRegion__bindgen_ty_2, pub iommu_notify_flags: IOMMUNotifierFlag,
}

Fields§

§parent_obj: Object§romd_mode: bool§ram: bool§subpage: bool§readonly: bool§rom_device: bool§flush_coalesced_mmio: bool§global_locking: bool§dirty_log_mask: u8§ram_block: *mut RAMBlock§owner: *mut Object§iommu_ops: *const MemoryRegionIOMMUOps§ops: *const MemoryRegionOps§opaque: *mut c_void§container: *mut MemoryRegion§size: Int128§addr: hwaddr§destructor: Option<unsafe extern "C" fn(mr: *mut MemoryRegion)>§align: u64§terminates: bool§ram_device: bool§enabled: bool§warning_printed: bool§vga_logging_count: u8§alias: *mut MemoryRegion§alias_offset: hwaddr§priority: i32§subregions: MemoryRegion_subregions§subregions_link: MemoryRegion__bindgen_ty_1§coalesced: MemoryRegion_coalesced_ranges§name: *const c_char§ioeventfd_nb: c_uint§ioeventfds: *mut MemoryRegionIoeventfd§iommu_notify: MemoryRegion__bindgen_ty_2§iommu_notify_flags: IOMMUNotifierFlag

Trait Implementations§

source§

impl Clone for MemoryRegion

source§

fn clone(&self) -> MemoryRegion

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemoryRegion

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for MemoryRegion

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.