Struct dprint_core::formatting::LineNumber
source · pub struct LineNumber { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for LineNumber
impl Clone for LineNumber
source§fn clone(&self) -> LineNumber
fn clone(&self) -> LineNumber
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 LineNumber
impl Debug for LineNumber
source§impl From<LineNumber> for Info
impl From<LineNumber> for Info
source§fn from(info: LineNumber) -> Self
fn from(info: LineNumber) -> Self
Converts to this type from the input type.
source§impl PartialEq for LineNumber
impl PartialEq for LineNumber
source§fn eq(&self, other: &LineNumber) -> bool
fn eq(&self, other: &LineNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LineNumber
impl Eq for LineNumber
impl StructuralPartialEq for LineNumber
Auto Trait Implementations§
impl Freeze for LineNumber
impl RefUnwindSafe for LineNumber
impl Send for LineNumber
impl Sync for LineNumber
impl Unpin for LineNumber
impl UnwindSafe for LineNumber
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.