Struct panda::sys::MemoryRegionSection
source · [−]#[repr(C)]#[repr(align(16))]pub struct MemoryRegionSection {
pub mr: *mut MemoryRegion,
pub address_space: *mut AddressSpace,
pub offset_within_region: u64,
pub __bindgen_padding_0: u64,
pub size: i128,
pub offset_within_address_space: u64,
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 MemoryRegionaddress_space: *mut AddressSpaceoffset_within_region: u64__bindgen_padding_0: u64size: i128offset_within_address_space: u64readonly: boolTrait Implementations
sourceimpl Clone for MemoryRegionSection
impl Clone for MemoryRegionSection
sourcefn clone(&self) -> MemoryRegionSection
fn clone(&self) -> MemoryRegionSection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more