pub struct PositionV2 {
pub line: usize,
pub character: usize,
}Fields§
§line: usize§character: usizeTrait Implementations§
Source§impl Clone for PositionV2
impl Clone for PositionV2
Source§fn clone(&self) -> PositionV2
fn clone(&self) -> PositionV2
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 PositionV2
impl Debug for PositionV2
Source§impl<'de> Deserialize<'de> for PositionV2
impl<'de> Deserialize<'de> for PositionV2
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
Source§impl Ord for PositionV2
impl Ord for PositionV2
Source§fn cmp(&self, other: &PositionV2) -> Ordering
fn cmp(&self, other: &PositionV2) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PositionV2
impl PartialEq for PositionV2
Source§impl PartialOrd for PositionV2
impl PartialOrd for PositionV2
Source§impl Serialize for PositionV2
impl Serialize for PositionV2
impl Eq for PositionV2
impl StructuralPartialEq for PositionV2
Auto Trait Implementations§
impl Freeze for PositionV2
impl RefUnwindSafe for PositionV2
impl Send for PositionV2
impl Sync for PositionV2
impl Unpin for PositionV2
impl UnsafeUnpin for PositionV2
impl UnwindSafe for PositionV2
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