pub struct NoMatch {
pub char_index: usize,
pub at_end: bool,
}Fields§
§char_index: usize§at_end: boolTrait Implementations§
impl Eq for NoMatch
Source§impl Error for NoMatch
impl Error for NoMatch
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<NoMatch> for MatchError
impl From<NoMatch> for MatchError
impl StructuralPartialEq for NoMatch
Auto Trait Implementations§
impl Freeze for NoMatch
impl RefUnwindSafe for NoMatch
impl Send for NoMatch
impl Sync for NoMatch
impl Unpin for NoMatch
impl UnsafeUnpin for NoMatch
impl UnwindSafe for NoMatch
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