pub struct NyarArray {
pub symbol: Identifier,
pub type: WasiType,
pub mutable: bool,
pub length: Option<usize>,
}Expand description
A fixed-size array type in WASI
Fields§
§symbol: IdentifierThe symbol of the array type
type: WasiTypeThe inner type of the array
mutable: boolThe inner mutable flag of the array
length: Option<usize>The length of the array
Implementations§
Trait Implementations§
source§impl Ord for NyarArray
impl Ord for NyarArray
source§impl PartialEq for NyarArray
impl PartialEq for NyarArray
source§impl PartialOrd for NyarArray
impl PartialOrd for NyarArray
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 Eq for NyarArray
impl StructuralPartialEq for NyarArray
Auto Trait Implementations§
impl RefUnwindSafe for NyarArray
impl Send for NyarArray
impl Sync for NyarArray
impl Unpin for NyarArray
impl UnwindSafe for NyarArray
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.