pub struct LineColUtf16 {
pub line: u32,
pub col: u32,
}Expand description
A line and column index pair, both 0-based, for the UTF-16 encoding of the source text.
Fields§
§line: u32§col: u32Trait Implementations§
source§impl Clone for LineColUtf16
impl Clone for LineColUtf16
source§fn clone(&self) -> LineColUtf16
fn clone(&self) -> LineColUtf16
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 LineColUtf16
impl Debug for LineColUtf16
source§impl Ord for LineColUtf16
impl Ord for LineColUtf16
source§fn cmp(&self, other: &LineColUtf16) -> Ordering
fn cmp(&self, other: &LineColUtf16) -> 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 LineColUtf16
impl PartialEq for LineColUtf16
source§impl PartialOrd for LineColUtf16
impl PartialOrd for LineColUtf16
impl Copy for LineColUtf16
impl Eq for LineColUtf16
impl StructuralPartialEq for LineColUtf16
Auto Trait Implementations§
impl Freeze for LineColUtf16
impl RefUnwindSafe for LineColUtf16
impl Send for LineColUtf16
impl Sync for LineColUtf16
impl Unpin for LineColUtf16
impl UnwindSafe for LineColUtf16
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)