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