Struct pax_manifest::LocationInfo
source · pub struct LocationInfo {
pub start_line_col: (usize, usize),
pub end_line_col: (usize, usize),
}
Expand description
Container for holding metadata about original Location in Pax Template Used for source-mapping
Fields§
§start_line_col: (usize, usize)
§end_line_col: (usize, usize)
Trait Implementations§
source§impl Clone for LocationInfo
impl Clone for LocationInfo
source§fn clone(&self) -> LocationInfo
fn clone(&self) -> LocationInfo
Returns a copy 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 Default for LocationInfo
impl Default for LocationInfo
source§fn default() -> LocationInfo
fn default() -> LocationInfo
Returns the “default value” for a type. Read more
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 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
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.