pub enum PureSymbolKind {
Function,
Struct,
Enum,
Trait,
TypeAlias,
Const,
Static,
LocalVar,
Parameter,
Module,
Impl,
}Expand description
Kind of symbol in PureFile.
Variants§
Function
Function definition.
Struct
Struct definition.
Enum
Enum definition.
Trait
Trait definition.
TypeAlias
Type alias.
Const
Const item.
Static
Static item.
LocalVar
Local variable.
Parameter
Function parameter.
Module
Module.
Impl
Impl block (for a type).
Trait Implementations§
Source§impl Clone for PureSymbolKind
impl Clone for PureSymbolKind
Source§fn clone(&self) -> PureSymbolKind
fn clone(&self) -> PureSymbolKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PureSymbolKind
impl Debug for PureSymbolKind
Source§impl From<PureSymbolKind> for ItemKind
impl From<PureSymbolKind> for ItemKind
Source§fn from(kind: PureSymbolKind) -> Self
fn from(kind: PureSymbolKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PureSymbolKind
impl PartialEq for PureSymbolKind
Source§fn eq(&self, other: &PureSymbolKind) -> bool
fn eq(&self, other: &PureSymbolKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PureSymbolKind
impl Eq for PureSymbolKind
impl StructuralPartialEq for PureSymbolKind
Auto Trait Implementations§
impl Freeze for PureSymbolKind
impl RefUnwindSafe for PureSymbolKind
impl Send for PureSymbolKind
impl Sync for PureSymbolKind
impl Unpin for PureSymbolKind
impl UnsafeUnpin for PureSymbolKind
impl UnwindSafe for PureSymbolKind
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