pub enum CstChild<'a> {
Node(CstNodeView<'a>),
Token(CstTokenView<'a>),
}Expand description
Reference from an edge to either a node or a token child.
Variants§
Node(CstNodeView<'a>)
Token(CstTokenView<'a>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CstChild<'a>
impl<'a> RefUnwindSafe for CstChild<'a>
impl<'a> Send for CstChild<'a>
impl<'a> Sync for CstChild<'a>
impl<'a> Unpin for CstChild<'a>
impl<'a> UnsafeUnpin for CstChild<'a>
impl<'a> UnwindSafe for CstChild<'a>
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