pub struct CodeElement {
pub name: String,
pub kind: CodeElementKind,
pub file: String,
pub line: usize,
}Expand description
A code element extracted from source files.
Fields§
§name: String§kind: CodeElementKind§file: String§line: usizeTrait Implementations§
Source§impl Clone for CodeElement
impl Clone for CodeElement
Source§fn clone(&self) -> CodeElement
fn clone(&self) -> CodeElement
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 moreAuto Trait Implementations§
impl Freeze for CodeElement
impl RefUnwindSafe for CodeElement
impl Send for CodeElement
impl Sync for CodeElement
impl Unpin for CodeElement
impl UnwindSafe for CodeElement
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