pub struct Child {
pub range: Range<usize>,
pub named: bool,
}Expand description
An immediate child used to exclude injection subranges.
Fields§
§range: Range<usize>Half-open UTF-8 byte range in the original source.
named: boolWhether the grammar classifies this child as named.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Child
impl Freeze for Child
impl Move for Child
impl RefUnwindSafe for Child
impl Send for Child
impl Sync for Child
impl Unpin for Child
impl UnsafeUnpin for Child
impl UnwindSafe for Child
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