pub struct While<T> { /* private fields */ }
Expand description
Indicating to continue parsing while T::parse()
is succeeded.
Trait Implementations§
Source§impl<T: Span> Span for While<T>
impl<T: Span> Span for While<T>
Source§fn start_position(&self) -> Position
fn start_position(&self) -> Position
Returns the start position of this item.
Source§fn end_position(&self) -> Position
fn end_position(&self) -> Position
Returns the end position of this item.
impl<T> Copy for While<T>
Auto Trait Implementations§
impl<T> Freeze for While<T>
impl<T> RefUnwindSafe for While<T>where
T: RefUnwindSafe,
impl<T> Send for While<T>where
T: Send,
impl<T> Sync for While<T>where
T: Sync,
impl<T> Unpin for While<T>where
T: Unpin,
impl<T> UnwindSafe for While<T>where
T: UnwindSafe,
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