pub struct LazyLeaf<'a> {
pub kind: SyntaxKind,
pub text: &'a str,
/* private fields */
}Expand description
A leaf about to be built, with the outer builder’s (unremapped) lexemes covering it.
Fields§
§kind: SyntaxKind§text: &'a strAuto Trait Implementations§
impl<'a> Freeze for LazyLeaf<'a>
impl<'a> RefUnwindSafe for LazyLeaf<'a>
impl<'a> Send for LazyLeaf<'a>
impl<'a> Sync for LazyLeaf<'a>
impl<'a> Unpin for LazyLeaf<'a>
impl<'a> UnsafeUnpin for LazyLeaf<'a>
impl<'a> UnwindSafe for LazyLeaf<'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