pub struct ErrorPosition {
pub line: u32,
pub column: u32,
}Expand description
1-based position inside the expression source text, as reported by the language engine. Not a route-definition position.
Fields§
§line: u321-based line inside the expression source.
column: u321-based column inside the expression source.
Trait Implementations§
Source§impl Clone for ErrorPosition
impl Clone for ErrorPosition
Source§fn clone(&self) -> ErrorPosition
fn clone(&self) -> ErrorPosition
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 moreimpl Copy for ErrorPosition
Source§impl Debug for ErrorPosition
impl Debug for ErrorPosition
Source§impl Display for ErrorPosition
impl Display for ErrorPosition
impl Eq for ErrorPosition
Source§impl PartialEq for ErrorPosition
impl PartialEq for ErrorPosition
impl StructuralPartialEq for ErrorPosition
Auto Trait Implementations§
impl Freeze for ErrorPosition
impl RefUnwindSafe for ErrorPosition
impl Send for ErrorPosition
impl Sync for ErrorPosition
impl Unpin for ErrorPosition
impl UnsafeUnpin for ErrorPosition
impl UnwindSafe for ErrorPosition
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