pub enum AtomKind {
Show 14 variants
Function,
AsyncFunction,
Method,
Struct,
Class,
Trait,
Interface,
Enum,
Constant,
TypeAlias,
Module,
Macro,
ImplBlock,
Decorator,
}Expand description
Kind of code atom
Variants§
Function
A function or method
AsyncFunction
An async function
Method
A method within a class/impl
Struct
A struct (Rust) or interface (TS)
Class
A class
Trait
A trait (Rust) or abstract class
Interface
An interface (TS/Java)
Enum
An enum
Constant
A constant or static value
TypeAlias
A type alias
Module
A module or namespace
Macro
A macro
ImplBlock
An impl block (Rust)
Decorator
A decorator/attribute (Python/Rust)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AtomKind
impl<'de> Deserialize<'de> for AtomKind
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 Copy for AtomKind
impl Eq for AtomKind
impl StructuralPartialEq for AtomKind
Auto Trait Implementations§
impl Freeze for AtomKind
impl RefUnwindSafe for AtomKind
impl Send for AtomKind
impl Sync for AtomKind
impl Unpin for AtomKind
impl UnwindSafe for AtomKind
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