pub enum ComponentItemKind {
Function,
Type,
Interface,
Instance,
Component,
Resource,
Value,
}Expand description
Component Model import/export item kind.
Variants§
Function
Function item.
Type
Type item.
Interface
Interface item.
Instance
Instance item.
Component
Nested component item.
Resource
Resource item.
Value
Value item.
Implementations§
Trait Implementations§
Source§impl Clone for ComponentItemKind
impl Clone for ComponentItemKind
Source§fn clone(&self) -> ComponentItemKind
fn clone(&self) -> ComponentItemKind
Returns a duplicate 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 ComponentItemKind
impl Debug for ComponentItemKind
Source§impl Default for ComponentItemKind
impl Default for ComponentItemKind
Source§fn default() -> ComponentItemKind
fn default() -> ComponentItemKind
Returns the “default value” for a type. Read more
Source§impl Display for ComponentItemKind
impl Display for ComponentItemKind
Source§impl FromStr for ComponentItemKind
impl FromStr for ComponentItemKind
Source§impl Hash for ComponentItemKind
impl Hash for ComponentItemKind
Source§impl Ord for ComponentItemKind
impl Ord for ComponentItemKind
Source§fn cmp(&self, other: &ComponentItemKind) -> Ordering
fn cmp(&self, other: &ComponentItemKind) -> 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 ComponentItemKind
impl PartialEq for ComponentItemKind
Source§impl PartialOrd for ComponentItemKind
impl PartialOrd for ComponentItemKind
impl Copy for ComponentItemKind
impl Eq for ComponentItemKind
impl StructuralPartialEq for ComponentItemKind
Auto Trait Implementations§
impl Freeze for ComponentItemKind
impl RefUnwindSafe for ComponentItemKind
impl Send for ComponentItemKind
impl Sync for ComponentItemKind
impl Unpin for ComponentItemKind
impl UnsafeUnpin for ComponentItemKind
impl UnwindSafe for ComponentItemKind
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