Struct wiggle::BorrowHandle
source · pub struct BorrowHandle { /* private fields */ }
Expand description
A handle to a borrow on linear memory. It is produced by {mut, shared}_borrow
and
consumed by {mut, shared}_unborrow
. Only the GuestMemory
impl should ever construct
a BorrowHandle
or inspect its contents.
Trait Implementations§
source§impl Clone for BorrowHandle
impl Clone for BorrowHandle
source§fn clone(&self) -> BorrowHandle
fn clone(&self) -> BorrowHandle
Returns a copy of the value. Read more
1.0.0 · 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 BorrowHandle
impl Debug for BorrowHandle
source§impl Hash for BorrowHandle
impl Hash for BorrowHandle
source§impl PartialEq for BorrowHandle
impl PartialEq for BorrowHandle
source§fn eq(&self, other: &BorrowHandle) -> bool
fn eq(&self, other: &BorrowHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BorrowHandle
impl Eq for BorrowHandle
impl StructuralPartialEq for BorrowHandle
Auto Trait Implementations§
impl Freeze for BorrowHandle
impl RefUnwindSafe for BorrowHandle
impl Send for BorrowHandle
impl Sync for BorrowHandle
impl Unpin for BorrowHandle
impl UnwindSafe for BorrowHandle
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.