pub struct Symbol {
pub kind: SymbolKind,
pub name: String,
pub start_line: u32,
pub end_line: u32,
pub depth: u32,
}Fields§
§kind: SymbolKind§name: String没有名字的(匿名命名空间、export default function)为空串。
start_line: u32§end_line: u32§depth: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnsafeUnpin for Symbol
impl UnwindSafe for Symbol
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