pub enum FuncKind {
Free,
Method,
Static,
Constructor,
}Expand description
Represents a kind of function in the component model.
Variants§
Free
The function is a “free” function (i.e. not associated with a resource).
Method
The function is a method on a resource.
Static
The function is a static method on a resource.
Constructor
The function is a resource constructor.
Trait Implementations§
impl Copy for FuncKind
impl Eq for FuncKind
impl StructuralPartialEq for FuncKind
Auto Trait Implementations§
impl Freeze for FuncKind
impl RefUnwindSafe for FuncKind
impl Send for FuncKind
impl Sync for FuncKind
impl Unpin for FuncKind
impl UnwindSafe for FuncKind
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.