Struct wiggle::BorrowHandle
source · pub struct BorrowHandle(pub usize);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.
Tuple Fields§
§0: usizeTrait 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<BorrowHandle> for BorrowHandle
impl PartialEq<BorrowHandle> 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 StructuralEq for BorrowHandle
impl StructuralPartialEq for BorrowHandle
Auto Trait Implementations§
impl RefUnwindSafe for BorrowHandle
impl Send for BorrowHandle
impl Sync for BorrowHandle
impl Unpin for BorrowHandle
impl UnwindSafe for BorrowHandle
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.