pub struct BoundVirtualBacking { /* private fields */ }Expand description
Virtual-backing access pinned to one binding.
Implementations§
Source§impl BoundVirtualBacking
impl BoundVirtualBacking
pub const fn binding_identity(&self) -> BindingIdentity
pub fn allocate_committed( &self, bytes: usize, align: usize, committed_ranges: &[Range<usize>], ) -> Result<BoundAllocation, BindingError>
pub fn commit_allocation_range( &self, allocation: &BoundAllocation, offset: usize, bytes: usize, ) -> Result<(), BindingError>
pub fn commit_allocation_ranges( &self, ranges: &[(&BoundAllocation, usize, usize)], ) -> Result<(), BindingError>
pub fn mapped_bytes_for_allocation( &self, bytes: usize, align: usize, ) -> Result<u64, BindingError>
pub fn decommit_allocation_range( &self, allocation: &BoundAllocation, offset: usize, bytes: usize, ) -> Result<u64, BindingError>
pub fn allocation_committed_bytes( &self, allocation: &BoundAllocation, ) -> Result<usize, BindingError>
Trait Implementations§
Source§impl Clone for BoundVirtualBacking
impl Clone for BoundVirtualBacking
Source§fn clone(&self) -> BoundVirtualBacking
fn clone(&self) -> BoundVirtualBacking
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 !RefUnwindSafe for BoundVirtualBacking
impl !UnwindSafe for BoundVirtualBacking
impl Freeze for BoundVirtualBacking
impl Send for BoundVirtualBacking
impl Sync for BoundVirtualBacking
impl Unpin for BoundVirtualBacking
impl UnsafeUnpin for BoundVirtualBacking
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