Enum wasmer_wit_parser::FunctionKind
source · [−]pub enum FunctionKind {
Freestanding,
Static {
resource: ResourceId,
name: String,
},
Method {
resource: ResourceId,
name: String,
},
}
Variants
Freestanding
Static
Method
Trait Implementations
sourceimpl Clone for FunctionKind
impl Clone for FunctionKind
sourcefn clone(&self) -> FunctionKind
fn clone(&self) -> FunctionKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FunctionKind
impl Debug for FunctionKind
sourceimpl PartialEq<FunctionKind> for FunctionKind
impl PartialEq<FunctionKind> for FunctionKind
sourcefn eq(&self, other: &FunctionKind) -> bool
fn eq(&self, other: &FunctionKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for FunctionKind
Auto Trait Implementations
impl RefUnwindSafe for FunctionKind
impl Send for FunctionKind
impl Sync for FunctionKind
impl Unpin for FunctionKind
impl UnwindSafe for FunctionKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more