Struct extism_pdk::memory::MemoryPointer
source · pub struct MemoryPointer<T>(/* private fields */);
Implementations§
source§impl<T: FromBytesOwned> MemoryPointer<T>
impl<T: FromBytesOwned> MemoryPointer<T>
Trait Implementations§
source§impl<T: Clone> Clone for MemoryPointer<T>
impl<T: Clone> Clone for MemoryPointer<T>
source§fn clone(&self) -> MemoryPointer<T>
fn clone(&self) -> MemoryPointer<T>
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<T: Debug> Debug for MemoryPointer<T>
impl<T: Debug> Debug for MemoryPointer<T>
source§impl<T: PartialEq> PartialEq for MemoryPointer<T>
impl<T: PartialEq> PartialEq for MemoryPointer<T>
source§fn eq(&self, other: &MemoryPointer<T>) -> bool
fn eq(&self, other: &MemoryPointer<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: PartialOrd> PartialOrd for MemoryPointer<T>
impl<T: PartialOrd> PartialOrd for MemoryPointer<T>
source§fn partial_cmp(&self, other: &MemoryPointer<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryPointer<T>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Copy> Copy for MemoryPointer<T>
impl<T> StructuralPartialEq for MemoryPointer<T>
Auto Trait Implementations§
impl<T> Freeze for MemoryPointer<T>
impl<T> RefUnwindSafe for MemoryPointer<T>where
T: RefUnwindSafe,
impl<T> Send for MemoryPointer<T>where
T: Send,
impl<T> Sync for MemoryPointer<T>where
T: Sync,
impl<T> Unpin for MemoryPointer<T>where
T: Unpin,
impl<T> UnwindSafe for MemoryPointer<T>where
T: UnwindSafe,
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