Struct version_number::parsers::modular::ParsedBase
source · pub struct ParsedBase { /* private fields */ }
Expand description
A parser state of a modular parser.
When the parser has reached this state, a two component BaseVersion
has been parsed, although no end-of-input check has taken place.
For example, given the hypothetical input a.bc
, we are only aware that
a.b
is a valid two component version number, while the tokens c
may be
anything. In practice, the c
tokens cannot be the complete set of available
tokens because the component parsing implementation has to distinguish
between the tokens in the component (i.e. the number) and those outside of
it. This though, is only an implementation detail, and not a concern of the
API.
Trait Implementations§
source§impl Debug for ParsedBase
impl Debug for ParsedBase
impl ParsedState for ParsedBase
Auto Trait Implementations§
impl Freeze for ParsedBase
impl RefUnwindSafe for ParsedBase
impl Send for ParsedBase
impl Sync for ParsedBase
impl Unpin for ParsedBase
impl UnwindSafe for ParsedBase
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