pub enum CodeElementKind {
Function,
Struct,
Enum,
Trait,
Impl,
Use,
Const,
Module,
}Expand description
Types of code elements we extract.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CodeElementKind
impl Clone for CodeElementKind
Source§fn clone(&self) -> CodeElementKind
fn clone(&self) -> CodeElementKind
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 CodeElementKind
impl Debug for CodeElementKind
Source§impl PartialEq for CodeElementKind
impl PartialEq for CodeElementKind
impl StructuralPartialEq for CodeElementKind
Auto Trait Implementations§
impl Freeze for CodeElementKind
impl RefUnwindSafe for CodeElementKind
impl Send for CodeElementKind
impl Sync for CodeElementKind
impl Unpin for CodeElementKind
impl UnwindSafe for CodeElementKind
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