pub struct MemorySpace {
pub handle: PackedHandle,
pub kind: MemoryViewKind,
pub agent_handle: PackedHandle,
pub segment: u32,
pub global_flags: u32,
pub size_bytes: usize,
pub alloc_max_size: usize,
pub runtime_alloc_allowed: bool,
pub granule: usize,
pub alignment: usize,
pub location: Option<u32>,
}Fields§
§handle: PackedHandle§kind: MemoryViewKind§agent_handle: PackedHandle§segment: u32§global_flags: u32§size_bytes: usize§alloc_max_size: usize§runtime_alloc_allowed: bool§granule: usize§alignment: usize§location: Option<u32>Implementations§
Trait Implementations§
Source§impl Clone for MemorySpace
impl Clone for MemorySpace
Source§fn clone(&self) -> MemorySpace
fn clone(&self) -> MemorySpace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MemorySpace
impl RefUnwindSafe for MemorySpace
impl Send for MemorySpace
impl Sync for MemorySpace
impl Unpin for MemorySpace
impl UnsafeUnpin for MemorySpace
impl UnwindSafe for MemorySpace
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