pub struct EngineErrorSource {
pub attribute: String,
pub line: usize,
pub column: usize,
pub length: usize,
}Expand description
Source location attached to an EngineError. Line and column are 1-based;
length is the UTF-8 byte length of the offending span.
Fields§
§attribute: String§line: usize§column: usize§length: usizeTrait Implementations§
Source§impl Clone for EngineErrorSource
impl Clone for EngineErrorSource
Source§fn clone(&self) -> EngineErrorSource
fn clone(&self) -> EngineErrorSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EngineErrorSource
impl Debug for EngineErrorSource
impl Eq for EngineErrorSource
Source§impl From<&Source> for EngineErrorSource
impl From<&Source> for EngineErrorSource
Source§impl PartialEq for EngineErrorSource
impl PartialEq for EngineErrorSource
Source§impl Serialize for EngineErrorSource
impl Serialize for EngineErrorSource
impl StructuralPartialEq for EngineErrorSource
Auto Trait Implementations§
impl Freeze for EngineErrorSource
impl RefUnwindSafe for EngineErrorSource
impl Send for EngineErrorSource
impl Sync for EngineErrorSource
impl Unpin for EngineErrorSource
impl UnsafeUnpin for EngineErrorSource
impl UnwindSafe for EngineErrorSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.