pub struct QuietGuard<'b, 'a>(/* private fields */);Methods from Deref<Target = &'b ParseState<'a>>§
pub fn action(&self, action: Action<'a>)
pub fn quiet(&self) -> QuietGuard<'_, 'a>
pub fn guard(&self, kind: impl Into<SyntaxKind>) -> RuleGuard<'_, 'a>
pub fn guard_token(&self, kind: impl Into<SyntaxKind>) -> RuleGuard<'_, 'a>
pub fn guard_none(&self) -> RuleGuard<'_, 'a>
Trait Implementations§
Source§impl<'b, 'a> Debug for QuietGuard<'b, 'a>
impl<'b, 'a> Debug for QuietGuard<'b, 'a>
Source§impl<'b, 'a> Deref for QuietGuard<'b, 'a>
impl<'b, 'a> Deref for QuietGuard<'b, 'a>
Auto Trait Implementations§
impl<'b, 'a> Freeze for QuietGuard<'b, 'a>
impl<'b, 'a> !RefUnwindSafe for QuietGuard<'b, 'a>
impl<'b, 'a> !Send for QuietGuard<'b, 'a>
impl<'b, 'a> !Sync for QuietGuard<'b, 'a>
impl<'b, 'a> Unpin for QuietGuard<'b, 'a>
impl<'b, 'a> !UnwindSafe for QuietGuard<'b, '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