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 SourceSyntaxwhere
*const ArcInner<DocumentHighlights> is !null: Freeze,
PhantomData<ArcInner<DocumentHighlights>>: Freeze,
*const ArcInner<Symbols> is !null: Freeze,
PhantomData<ArcInner<Symbols>>: Freeze,
impl Move for SourceSyntax
impl RefUnwindSafe for SourceSyntax
impl Send for SourceSyntax
impl Sync for SourceSyntax
impl Unpin for SourceSyntax
impl UnsafeUnpin for SourceSyntaxwhere
*const ArcInner<DocumentHighlights> is !null: UnsafeUnpin,
PhantomData<ArcInner<DocumentHighlights>>: UnsafeUnpin,
*const ArcInner<Symbols> is !null: UnsafeUnpin,
PhantomData<ArcInner<Symbols>>: UnsafeUnpin,
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