pub struct BoundMemoryView { /* private fields */ }Expand description
Cloneable metadata for a sub-range of one bound allocation.
Implementations§
Source§impl BoundMemoryView
impl BoundMemoryView
pub const fn binding(&self) -> &MemoryBinding
pub const fn allocation_identity(&self) -> AllocationIdentity
pub const fn len(&self) -> usize
pub const fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for BoundMemoryView
impl Clone for BoundMemoryView
Source§fn clone(&self) -> BoundMemoryView
fn clone(&self) -> BoundMemoryView
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 moreSource§impl Debug for BoundMemoryView
impl Debug for BoundMemoryView
impl Send for BoundMemoryView
impl Sync for BoundMemoryView
Auto Trait Implementations§
impl !RefUnwindSafe for BoundMemoryView
impl !UnwindSafe for BoundMemoryView
impl Freeze for BoundMemoryView
impl Unpin for BoundMemoryView
impl UnsafeUnpin for BoundMemoryView
Blanket Implementations§
impl<T> BindingResource for T
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