pub struct End;Expand description
The end of a line or input.
Trait Implementations§
source§impl Ord for End
impl Ord for End
source§impl PartialOrd for End
impl PartialOrd for End
impl Copy for End
impl Eq for End
impl StructuralPartialEq for End
Auto Trait Implementations§
impl Freeze for End
impl RefUnwindSafe for End
impl Send for End
impl Sync for End
impl Unpin for End
impl UnwindSafe for End
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<S> Parse for Swhere
S: TokenParse,
impl<S> Parse for Swhere
S: TokenParse,
source§impl<T> TokenParse for Twhere
T: DirectTokenParse,
impl<T> TokenParse for Twhere
T: DirectTokenParse,
source§type Intermediate = T
type Intermediate = T
An intermediate to hold the match before it is converted to the actual component.
source§fn match_(
m_token: Option<&Token>,
span: Range<usize>,
) -> Result<<T as TokenParse>::Intermediate, ParseErr>
fn match_( m_token: Option<&Token>, span: Range<usize>, ) -> Result<<T as TokenParse>::Intermediate, ParseErr>
Tries to match the next token to the given component, if possible. Read more
source§fn convert(
imed: <T as TokenParse>::Intermediate,
_span: Range<usize>,
) -> Result<T, ParseErr>
fn convert( imed: <T as TokenParse>::Intermediate, _span: Range<usize>, ) -> Result<T, ParseErr>
Parses the intermediate into the given component, raising an error if conversion fails.