Struct rustfix::LinePosition
source · pub struct LinePosition {
pub line: usize,
pub column: usize,
}
Fields§
§line: usize
§column: usize
Trait Implementations§
source§impl Clone for LinePosition
impl Clone for LinePosition
source§fn clone(&self) -> LinePosition
fn clone(&self) -> LinePosition
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 LinePosition
impl Debug for LinePosition
source§impl Display for LinePosition
impl Display for LinePosition
source§impl Hash for LinePosition
impl Hash for LinePosition
source§impl PartialEq for LinePosition
impl PartialEq for LinePosition
source§fn eq(&self, other: &LinePosition) -> bool
fn eq(&self, other: &LinePosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LinePosition
impl Eq for LinePosition
impl StructuralPartialEq for LinePosition
Auto Trait Implementations§
impl Freeze for LinePosition
impl RefUnwindSafe for LinePosition
impl Send for LinePosition
impl Sync for LinePosition
impl Unpin for LinePosition
impl UnwindSafe for LinePosition
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