pub struct ALOC(/* private fields */);
Expand description
Allocate a number of bytes from the heap.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ALOC
impl<'de> Deserialize<'de> for ALOC
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ALOC> for Instruction
impl From<ALOC> for Instruction
source§impl FromWasmAbi for ALOC
impl FromWasmAbi for ALOC
source§impl IntoWasmAbi for ALOC
impl IntoWasmAbi for ALOC
source§impl LongRefFromWasmAbi for ALOC
impl LongRefFromWasmAbi for ALOC
source§impl OptionFromWasmAbi for ALOC
impl OptionFromWasmAbi for ALOC
source§impl OptionIntoWasmAbi for ALOC
impl OptionIntoWasmAbi for ALOC
source§impl RefFromWasmAbi for ALOC
impl RefFromWasmAbi for ALOC
source§impl RefMutFromWasmAbi for ALOC
impl RefMutFromWasmAbi for ALOC
source§impl TryFromJsValue for ALOC
impl TryFromJsValue for ALOC
source§impl VectorFromWasmAbi for ALOC
impl VectorFromWasmAbi for ALOC
source§impl VectorIntoWasmAbi for ALOC
impl VectorIntoWasmAbi for ALOC
impl Copy for ALOC
impl Eq for ALOC
impl StructuralPartialEq for ALOC
Auto Trait Implementations§
impl Freeze for ALOC
impl RefUnwindSafe for ALOC
impl Send for ALOC
impl Sync for ALOC
impl Unpin for ALOC
impl UnwindSafe for ALOC
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.