pub struct OutputPatternMatchFailure {
pub location: ScriptLocation,
pub pattern_type: &'static str,
pub output_line: Option<Line>,
}Fields§
§location: ScriptLocation§pattern_type: &'static str§output_line: Option<Line>Trait Implementations§
Source§impl Clone for OutputPatternMatchFailure
impl Clone for OutputPatternMatchFailure
Source§fn clone(&self) -> OutputPatternMatchFailure
fn clone(&self) -> OutputPatternMatchFailure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputPatternMatchFailure
impl Debug for OutputPatternMatchFailure
Source§impl Display for OutputPatternMatchFailure
impl Display for OutputPatternMatchFailure
Source§impl Error for OutputPatternMatchFailure
impl Error for OutputPatternMatchFailure
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<OutputPatternMatchFailure> for ScriptRunError
impl From<OutputPatternMatchFailure> for ScriptRunError
Source§fn from(source: OutputPatternMatchFailure) -> Self
fn from(source: OutputPatternMatchFailure) -> Self
Converts to this type from the input type.
impl Eq for OutputPatternMatchFailure
impl StructuralPartialEq for OutputPatternMatchFailure
Auto Trait Implementations§
impl Freeze for OutputPatternMatchFailure
impl RefUnwindSafe for OutputPatternMatchFailure
impl Send for OutputPatternMatchFailure
impl Sync for OutputPatternMatchFailure
impl Unpin for OutputPatternMatchFailure
impl UnsafeUnpin for OutputPatternMatchFailure
impl UnwindSafe for OutputPatternMatchFailure
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