pub struct Instructions { /* private fields */ }
Available on crate feature
std
and WebAssembly only.Implementations§
Source§impl Instructions
impl Instructions
pub fn constructor() -> Instructions
pub fn push(&mut self, instruction: Instruction)
Trait Implementations§
Source§impl Default for Instructions
impl Default for Instructions
Source§fn default() -> Instructions
fn default() -> Instructions
Returns the “default value” for a type. Read more
Source§impl From<Instructions> for JsValue
impl From<Instructions> for JsValue
Source§fn from(value: Instructions) -> Self
fn from(value: Instructions) -> Self
Converts to this type from the input type.
Source§impl From<Instructions> for Vec<Instruction>
impl From<Instructions> for Vec<Instruction>
Source§fn from(instructions: Instructions) -> Self
fn from(instructions: Instructions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for Instructions
impl FromWasmAbi for Instructions
Source§impl IntoWasmAbi for Instructions
impl IntoWasmAbi for Instructions
Source§impl LongRefFromWasmAbi for Instructions
impl LongRefFromWasmAbi for Instructions
Source§impl OptionFromWasmAbi for Instructions
impl OptionFromWasmAbi for Instructions
Source§impl OptionIntoWasmAbi for Instructions
impl OptionIntoWasmAbi for Instructions
Source§impl RefFromWasmAbi for Instructions
impl RefFromWasmAbi for Instructions
Source§type Anchor = RcRef<Instructions>
type Anchor = RcRef<Instructions>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for Instructions
impl RefMutFromWasmAbi for Instructions
Source§impl TryFromJsValue for Instructions
impl TryFromJsValue for Instructions
Source§impl VectorFromWasmAbi for Instructions
impl VectorFromWasmAbi for Instructions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Instructions]>
Source§impl VectorIntoJsValue for Instructions
impl VectorIntoJsValue for Instructions
fn vector_into_jsvalue(vector: Box<[Instructions]>) -> JsValue
Source§impl VectorIntoWasmAbi for Instructions
impl VectorIntoWasmAbi for Instructions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Instructions]>) -> Self::Abi
Source§impl WasmDescribeVector for Instructions
impl WasmDescribeVector for Instructions
impl SupportsConstructor for Instructions
impl SupportsInstanceProperty for Instructions
impl SupportsStaticProperty for Instructions
Auto Trait Implementations§
impl Freeze for Instructions
impl RefUnwindSafe for Instructions
impl Send for Instructions
impl Sync for Instructions
impl Unpin for Instructions
impl UnwindSafe for Instructions
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> 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
.