Struct panda_sys::MemoryRegionSection
source · #[repr(C, align(16))]pub struct MemoryRegionSection {
pub mr: *mut MemoryRegion,
pub address_space: *mut AddressSpace,
pub offset_within_region: hwaddr,
pub __bindgen_padding_0: u64,
pub size: Int128,
pub offset_within_address_space: hwaddr,
pub readonly: bool,
}
Expand description
MemoryRegionSection: describes a fragment of a #MemoryRegion
@mr: the region, or %NULL if empty @address_space: the address space the region is mapped in @offset_within_region: the beginning of the section, relative to @mr’s start @size: the size of the section; will not exceed @mr’s boundaries @offset_within_address_space: the address of the first byte of the section relative to the region’s address space @readonly: writes to this section are ignored
Fields§
§mr: *mut MemoryRegion
§address_space: *mut AddressSpace
§offset_within_region: hwaddr
§__bindgen_padding_0: u64
§size: Int128
§offset_within_address_space: hwaddr
§readonly: bool
Trait Implementations§
source§impl Clone for MemoryRegionSection
impl Clone for MemoryRegionSection
source§fn clone(&self) -> MemoryRegionSection
fn clone(&self) -> MemoryRegionSection
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 MemoryRegionSection
impl Debug for MemoryRegionSection
impl Copy for MemoryRegionSection
Auto Trait Implementations§
impl RefUnwindSafe for MemoryRegionSection
impl !Send for MemoryRegionSection
impl !Sync for MemoryRegionSection
impl Unpin for MemoryRegionSection
impl UnwindSafe for MemoryRegionSection
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