Struct nyar_wasm::WasiRecordField
source · pub struct WasiRecordField {
pub name: Arc<str>,
pub wasi_name: Arc<str>,
pub type: WasiType,
pub default_value: Option<WasiValue>,
}
Fields§
§name: Arc<str>
The name of the field
wasi_name: Arc<str>
The WASI name of the field
type: WasiType
The type of the parameter
default_value: Option<WasiValue>
The default value of the parameter
Implementations§
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 WasiRecordField
impl Clone for WasiRecordField
source§fn clone(&self) -> WasiRecordField
fn clone(&self) -> WasiRecordField
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 WasiRecordField
impl Debug for WasiRecordField
source§impl Hash for WasiRecordField
impl Hash for WasiRecordField
source§impl PartialEq for WasiRecordField
impl PartialEq for WasiRecordField
source§fn eq(&self, other: &WasiRecordField) -> bool
fn eq(&self, other: &WasiRecordField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WasiRecordField
impl PartialOrd for WasiRecordField
source§fn partial_cmp(&self, other: &WasiRecordField) -> Option<Ordering>
fn partial_cmp(&self, other: &WasiRecordField) -> Option<Ordering>
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 WasiRecordField
impl StructuralPartialEq for WasiRecordField
Auto Trait Implementations§
impl Freeze for WasiRecordField
impl RefUnwindSafe for WasiRecordField
impl Send for WasiRecordField
impl Sync for WasiRecordField
impl Unpin for WasiRecordField
impl UnwindSafe for WasiRecordField
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> 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.