Struct rustemo::LineColumn
source · pub struct LineColumn {
pub line: usize,
pub column: usize,
}Expand description
A line-column based location for use where applicable (e.g. plain text).
Fields§
§line: usize§column: usizeTrait Implementations§
source§impl Clone for LineColumn
impl Clone for LineColumn
source§fn clone(&self) -> LineColumn
fn clone(&self) -> LineColumn
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 LineColumn
impl Debug for LineColumn
source§impl PartialEq for LineColumn
impl PartialEq for LineColumn
source§fn eq(&self, other: &LineColumn) -> bool
fn eq(&self, other: &LineColumn) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LineColumn
impl Eq for LineColumn
impl StructuralEq for LineColumn
impl StructuralPartialEq for LineColumn
Auto Trait Implementations§
impl RefUnwindSafe for LineColumn
impl Send for LineColumn
impl Sync for LineColumn
impl Unpin for LineColumn
impl UnwindSafe for LineColumn
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.