pub struct LinkFlags { /* private fields */ }Expand description
Tree-sitter-compatible parse status flags modeled as link metadata.
Implementations§
Source§impl LinkFlags
impl LinkFlags
Sourcepub const fn containing_error() -> Self
pub const fn containing_error() -> Self
Flags for a link that contains an error below it.
Sourcepub const fn is_missing(self) -> bool
pub const fn is_missing(self) -> bool
Whether this link is missing from the source text.
Trait Implementations§
impl Copy for LinkFlags
impl Eq for LinkFlags
impl StructuralPartialEq for LinkFlags
Auto Trait Implementations§
impl Freeze for LinkFlags
impl RefUnwindSafe for LinkFlags
impl Send for LinkFlags
impl Sync for LinkFlags
impl Unpin for LinkFlags
impl UnsafeUnpin for LinkFlags
impl UnwindSafe for LinkFlags
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