pub enum SyntaxElement {
Node(SyntaxNode),
Token(usize),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyntaxElement
impl RefUnwindSafe for SyntaxElement
impl Send for SyntaxElement
impl Sync for SyntaxElement
impl Unpin for SyntaxElement
impl UnsafeUnpin for SyntaxElement
impl UnwindSafe for SyntaxElement
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