pub enum ScopeBoundary<'a> {
Begin(&'a Scope),
End {
scope: &'a Scope,
reason: EndReason,
input_truncated: bool,
},
}Expand description
Parser lifecycle notification for a caller-owned scope.
Variants§
Trait Implementations§
Source§impl<'a> Clone for ScopeBoundary<'a>
impl<'a> Clone for ScopeBoundary<'a>
Source§fn clone(&self) -> ScopeBoundary<'a>
fn clone(&self) -> ScopeBoundary<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for ScopeBoundary<'a>
impl<'a> RefUnwindSafe for ScopeBoundary<'a>
impl<'a> Send for ScopeBoundary<'a>
impl<'a> Sync for ScopeBoundary<'a>
impl<'a> Unpin for ScopeBoundary<'a>
impl<'a> UnsafeUnpin for ScopeBoundary<'a>
impl<'a> UnwindSafe for ScopeBoundary<'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