Struct panda::sys::MemoryRegionOps
source · [−]#[repr(C)]pub struct MemoryRegionOps {
pub read: Option<unsafe extern "C" fn(*mut c_void, u64, u32) -> u64>,
pub write: Option<unsafe extern "C" fn(*mut c_void, u64, u64, u32)>,
pub read_with_attrs: Option<unsafe extern "C" fn(*mut c_void, u64, *mut u64, u32, MemTxAttrs) -> u32>,
pub write_with_attrs: Option<unsafe extern "C" fn(*mut c_void, u64, u64, u32, MemTxAttrs) -> u32>,
pub endianness: u32,
pub valid: MemoryRegionOps__bindgen_ty_1,
pub impl_: MemoryRegionOps__bindgen_ty_2,
pub old_mmio: MemoryRegionMmio,
}Fields
read: Option<unsafe extern "C" fn(*mut c_void, u64, u32) -> u64>write: Option<unsafe extern "C" fn(*mut c_void, u64, u64, u32)>read_with_attrs: Option<unsafe extern "C" fn(*mut c_void, u64, *mut u64, u32, MemTxAttrs) -> u32>write_with_attrs: Option<unsafe extern "C" fn(*mut c_void, u64, u64, u32, MemTxAttrs) -> u32>endianness: u32valid: MemoryRegionOps__bindgen_ty_1impl_: MemoryRegionOps__bindgen_ty_2old_mmio: MemoryRegionMmioTrait Implementations
sourceimpl Clone for MemoryRegionOps
impl Clone for MemoryRegionOps
sourcefn clone(&self) -> MemoryRegionOps
fn clone(&self) -> MemoryRegionOps
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 MemoryRegionOps
impl Debug for MemoryRegionOps
impl Copy for MemoryRegionOps
Auto Trait Implementations
impl RefUnwindSafe for MemoryRegionOps
impl Send for MemoryRegionOps
impl Sync for MemoryRegionOps
impl Unpin for MemoryRegionOps
impl UnwindSafe for MemoryRegionOps
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