pub struct DiagnosticInputLocation { /* private fields */ }Expand description
Input-document coordinates and a fixed set of logical locators. These are not Rust source coordinates; zero/unavailable values are preserved honestly.
Implementations§
Source§impl DiagnosticInputLocation
impl DiagnosticInputLocation
pub fn new(json_line: Option<u64>, json_column: Option<u64>) -> Self
pub fn with_locator_status(self, truncated: bool, redacted: bool) -> Self
pub fn with_config_key(self, locator: DiagnosticLocator) -> Self
pub fn with_file(self, locator: DiagnosticLocator) -> Self
pub fn with_table(self, locator: DiagnosticLocator) -> Self
pub fn with_column(self, locator: DiagnosticLocator) -> Self
Trait Implementations§
Source§impl Debug for DiagnosticInputLocation
impl Debug for DiagnosticInputLocation
Auto Trait Implementations§
impl Freeze for DiagnosticInputLocation
impl RefUnwindSafe for DiagnosticInputLocation
impl Send for DiagnosticInputLocation
impl Sync for DiagnosticInputLocation
impl Unpin for DiagnosticInputLocation
impl UnsafeUnpin for DiagnosticInputLocation
impl UnwindSafe for DiagnosticInputLocation
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