[−][src]Struct fm::FMatchError
An error indicating a failed match. The pattern and text are copied in so that the error isn't tied to their lifetimes.
Implementations
impl FMatchError
[src]
pub fn ptn_line_off(&self) -> usize
[src]
pub fn text_line_off(&self) -> usize
[src]
Trait Implementations
impl Debug for FMatchError
[src]
A short error message. We don't reuse the longer message from Display
as a Rust panic
uses Debug
and doesn't interpret formatting characters when printing the panic message.
impl Display for FMatchError
[src]
impl Error for FMatchError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<FMatchError> for FMatchError
[src]
fn eq(&self, other: &FMatchError) -> bool
[src]
fn ne(&self, other: &FMatchError) -> bool
[src]
impl StructuralPartialEq for FMatchError
[src]
Auto Trait Implementations
impl RefUnwindSafe for FMatchError
impl Send for FMatchError
impl Sync for FMatchError
impl Unpin for FMatchError
impl UnwindSafe for FMatchError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,