Struct biome_rowan::syntax::SendNode
source · pub struct SendNode { /* private fields */ }Expand description
Language-agnostic representation of the root node of a syntax tree, can be sent or shared between threads
Implementations§
source§impl SendNode
impl SendNode
sourcepub fn into_node<L>(self) -> Option<SyntaxNode<L>>where
L: Language + 'static,
pub fn into_node<L>(self) -> Option<SyntaxNode<L>>where
L: Language + 'static,
Downcast this handle back into a SyntaxNode
Returns None if the specified language L is not the one this node
was created with
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SendNode
impl RefUnwindSafe for SendNode
impl Send for SendNode
impl Sync for SendNode
impl Unpin for SendNode
impl UnwindSafe for SendNode
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