pub struct CargoAllowErrorLocation {
pub path: Option<String>,
pub line: u32,
pub column: u32,
}Expand description
One-based source location attached to a parse or validation diagnostic.
Fields§
§path: Option<String>Source path when the caller had one; None means the input was an
in-memory document without a known path.
line: u32§column: u32Trait Implementations§
Source§impl Clone for CargoAllowErrorLocation
impl Clone for CargoAllowErrorLocation
Source§fn clone(&self) -> CargoAllowErrorLocation
fn clone(&self) -> CargoAllowErrorLocation
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 CargoAllowErrorLocation
impl Debug for CargoAllowErrorLocation
impl Eq for CargoAllowErrorLocation
Source§impl PartialEq for CargoAllowErrorLocation
impl PartialEq for CargoAllowErrorLocation
impl StructuralPartialEq for CargoAllowErrorLocation
Auto Trait Implementations§
impl Freeze for CargoAllowErrorLocation
impl RefUnwindSafe for CargoAllowErrorLocation
impl Send for CargoAllowErrorLocation
impl Sync for CargoAllowErrorLocation
impl Unpin for CargoAllowErrorLocation
impl UnsafeUnpin for CargoAllowErrorLocation
impl UnwindSafe for CargoAllowErrorLocation
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