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 Forget for Symbol
impl Freeze for Symbol
impl Move for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbolwhere
RawVecInner: Send,
impl Sync for Symbolwhere
RawVecInner: Sync,
impl Unpin for Symbol
impl UnsafeUnpin for Symbol
impl UnwindSafe for Symbolwhere
RawVecInner: UnwindSafe,
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