pub enum SymbolKind {
Module,
Function,
Method,
Struct,
Enum,
Union,
Trait,
TypeAlias,
Constant,
Static,
}Expand description
The closed vocabulary of definitions a report emits.
Variants§
Module
A module.
Function
A free or associated function.
Method
A method reached through a receiver.
Struct
A struct.
Enum
An enum.
Union
A union.
Trait
A trait.
TypeAlias
A type alias.
Constant
A constant.
Static
A static.
Trait Implementations§
Source§impl Clone for SymbolKind
impl Clone for SymbolKind
Source§fn clone(&self) -> SymbolKind
fn clone(&self) -> SymbolKind
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 moreimpl Copy for SymbolKind
Source§impl Debug for SymbolKind
impl Debug for SymbolKind
Source§impl<'de> Deserialize<'de> for SymbolKind
impl<'de> Deserialize<'de> for SymbolKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SymbolKind
Source§impl Hash for SymbolKind
impl Hash for SymbolKind
Source§impl Ord for SymbolKind
impl Ord for SymbolKind
Source§fn cmp(&self, other: &SymbolKind) -> Ordering
fn cmp(&self, other: &SymbolKind) -> Ordering
1.21.0 (const: unstable) · 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 SymbolKind
impl PartialEq for SymbolKind
Source§impl PartialOrd for SymbolKind
impl PartialOrd for SymbolKind
Source§impl Serialize for SymbolKind
impl Serialize for SymbolKind
impl StructuralPartialEq for SymbolKind
Auto Trait Implementations§
impl Freeze for SymbolKind
impl RefUnwindSafe for SymbolKind
impl Send for SymbolKind
impl Sync for SymbolKind
impl Unpin for SymbolKind
impl UnsafeUnpin for SymbolKind
impl UnwindSafe for SymbolKind
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