Struct nyar_wasm::WasiRecordType
source · pub struct WasiRecordType {
pub symbol: Identifier,
pub wasi_name: String,
pub fields: IndexMap<Arc<str>, WasiRecordField>,
}
Fields§
§symbol: Identifier
§wasi_name: String
§fields: IndexMap<Arc<str>, WasiRecordField>
Implementations§
source§impl WasiRecordType
impl WasiRecordType
sourcepub fn new(symbol: Identifier) -> Self
pub fn new(symbol: Identifier) -> Self
Create a new record type
Trait Implementations§
source§impl AddAssign<WasiRecordField> for WasiRecordType
impl AddAssign<WasiRecordField> for WasiRecordType
source§fn add_assign(&mut self, rhs: WasiRecordField)
fn add_assign(&mut self, rhs: WasiRecordField)
Performs the
+=
operation. Read moresource§impl Clone for WasiRecordType
impl Clone for WasiRecordType
source§fn clone(&self) -> WasiRecordType
fn clone(&self) -> WasiRecordType
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 WasiRecordType
impl Debug for WasiRecordType
source§impl Display for WasiRecordType
impl Display for WasiRecordType
source§impl Hash for WasiRecordType
impl Hash for WasiRecordType
source§impl Ord for WasiRecordType
impl Ord for WasiRecordType
source§impl PartialEq for WasiRecordType
impl PartialEq for WasiRecordType
source§impl PartialOrd for WasiRecordType
impl PartialOrd for WasiRecordType
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 WasiRecordType
Auto Trait Implementations§
impl Freeze for WasiRecordType
impl RefUnwindSafe for WasiRecordType
impl Send for WasiRecordType
impl Sync for WasiRecordType
impl Unpin for WasiRecordType
impl UnwindSafe for WasiRecordType
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.