Struct dprint_core::formatting::LineNumber
source · [−]pub struct LineNumber { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Clone for LineNumber
impl Clone for LineNumber
sourcefn clone(&self) -> LineNumber
fn clone(&self) -> LineNumber
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LineNumber
impl Debug for LineNumber
sourceimpl From<LineNumber> for Info
impl From<LineNumber> for Info
sourcefn from(info: LineNumber) -> Self
fn from(info: LineNumber) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LineNumber> for LineNumber
impl PartialEq<LineNumber> for LineNumber
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &LineNumber) -> bool
fn ne(&self, other: &LineNumber) -> bool
This method tests for !=
.
impl Copy for LineNumber
impl StructuralPartialEq for LineNumber
Auto Trait Implementations
impl RefUnwindSafe for LineNumber
impl Send for LineNumber
impl Sync for LineNumber
impl Unpin for LineNumber
impl UnwindSafe for LineNumber
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more