Struct nyar_wasm::WasiResource
source · pub struct WasiResource {
pub symbol: Identifier,
pub wasi_module: WasiModule,
pub wasi_name: Arc<str>,
}
Fields§
§symbol: Identifier
Resource language name
wasi_module: WasiModule
§wasi_name: Arc<str>
Implementations§
Trait Implementations§
source§impl AddAssign<WasiResource> for WasiInstance
impl AddAssign<WasiResource> for WasiInstance
source§fn add_assign(&mut self, rhs: WasiResource)
fn add_assign(&mut self, rhs: WasiResource)
Performs the
+=
operation. Read moresource§impl Clone for WasiResource
impl Clone for WasiResource
source§fn clone(&self) -> WasiResource
fn clone(&self) -> WasiResource
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 WasiResource
impl Debug for WasiResource
source§impl Hash for WasiResource
impl Hash for WasiResource
source§impl Ord for WasiResource
impl Ord for WasiResource
source§fn cmp(&self, other: &WasiResource) -> Ordering
fn cmp(&self, other: &WasiResource) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for WasiResource
impl PartialEq for WasiResource
source§fn eq(&self, other: &WasiResource) -> bool
fn eq(&self, other: &WasiResource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WasiResource
impl PartialOrd for WasiResource
source§fn partial_cmp(&self, other: &WasiResource) -> Option<Ordering>
fn partial_cmp(&self, other: &WasiResource) -> 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 WasiResource
impl StructuralPartialEq for WasiResource
Auto Trait Implementations§
impl Freeze for WasiResource
impl RefUnwindSafe for WasiResource
impl Send for WasiResource
impl Sync for WasiResource
impl Unpin for WasiResource
impl UnwindSafe for WasiResource
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.