Struct nyar_wasm::ArrayValue
source · pub struct ArrayValue {
pub type: WasiArrayType,
pub values: Vec<WasiValue>,
}
Expand description
An array with dynamic value
Fields§
§type: WasiArrayType
The type of the array
values: Vec<WasiValue>
The values of the array
Trait Implementations§
source§impl Clone for ArrayValue
impl Clone for ArrayValue
source§fn clone(&self) -> ArrayValue
fn clone(&self) -> ArrayValue
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 ArrayValue
impl Debug for ArrayValue
source§impl Hash for ArrayValue
impl Hash for ArrayValue
source§impl ToWasiType for ArrayValue
impl ToWasiType for ArrayValue
fn to_wasi_type(&self) -> WasiType
Auto Trait Implementations§
impl Freeze for ArrayValue
impl RefUnwindSafe for ArrayValue
impl Send for ArrayValue
impl Sync for ArrayValue
impl Unpin for ArrayValue
impl UnwindSafe for ArrayValue
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