pub struct LocationInfo {
pub path: String,
pub line: u32,
pub column: u32,
pub context_lines: Option<Vec<String>>,
pub context_start: Option<u32>,
pub name: Option<String>,
pub kind: Option<String>,
pub detail: Option<String>,
}Fields§
§path: String§line: u32§column: u32§context_lines: Option<Vec<String>>§context_start: Option<u32>§name: Option<String>§kind: Option<String>§detail: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for LocationInfo
impl Clone for LocationInfo
Source§fn clone(&self) -> LocationInfo
fn clone(&self) -> LocationInfo
Returns a duplicate 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 Debug for LocationInfo
impl Debug for LocationInfo
Source§impl<'de> Deserialize<'de> for LocationInfo
impl<'de> Deserialize<'de> for LocationInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LocationInfo
impl RefUnwindSafe for LocationInfo
impl Send for LocationInfo
impl Sync for LocationInfo
impl Unpin for LocationInfo
impl UnsafeUnpin for LocationInfo
impl UnwindSafe for LocationInfo
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