Struct expry::CompileError
source · pub struct CompileError<'a> {
pub expr: &'a str,
pub error: CompileErrorDescription<'a>,
pub start: usize,
pub end: usize,
pub extra: Option<(usize, usize)>,
}
Fields§
§expr: &'a str
§error: CompileErrorDescription<'a>
§start: usize
§end: usize
§extra: Option<(usize, usize)>
Implementations§
Trait Implementations§
source§impl<'a> Clone for CompileError<'a>
impl<'a> Clone for CompileError<'a>
source§fn clone(&self) -> CompileError<'a>
fn clone(&self) -> CompileError<'a>
Returns a copy 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<'a> Debug for CompileError<'a>
impl<'a> Debug for CompileError<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CompileError<'a>
impl<'a> Send for CompileError<'a>
impl<'a> Sync for CompileError<'a>
impl<'a> Unpin for CompileError<'a>
impl<'a> UnwindSafe for CompileError<'a>
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