pub struct SourceSyntax {
pub highlights: Arc<DocumentHighlights>,
/* private fields */
}Fields§
§highlights: Arc<DocumentHighlights>Implementations§
Source§impl SourceSyntax
impl SourceSyntax
pub fn new(highlights: Arc<DocumentHighlights>) -> Self
pub const fn work_stats(&self) -> SyntaxWorkStats
pub fn symbols(&self) -> &Arc<SymbolTags> ⓘ
Trait Implementations§
Source§impl Clone for SourceSyntax
impl Clone for SourceSyntax
Source§impl Debug for SourceSyntax
impl Debug for SourceSyntax
Auto Trait Implementations§
impl Forget for SourceSyntax
impl Freeze for SourceSyntax
impl Move for SourceSyntax
impl RefUnwindSafe for SourceSyntax
impl Send for SourceSyntax
impl Sync for SourceSyntax
impl Unpin for SourceSyntax
impl UnsafeUnpin for SourceSyntax
impl UnwindSafe for SourceSyntax
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