Enum dprint_core::formatting::Info
source · pub enum Info {
LineNumber(LineNumber),
ColumnNumber(ColumnNumber),
IsStartOfLine(IsStartOfLine),
IndentLevel(IndentLevel),
LineStartColumnNumber(LineStartColumnNumber),
LineStartIndentLevel(LineStartIndentLevel),
}
Variants§
LineNumber(LineNumber)
ColumnNumber(ColumnNumber)
IsStartOfLine(IsStartOfLine)
IndentLevel(IndentLevel)
LineStartColumnNumber(LineStartColumnNumber)
LineStartIndentLevel(LineStartIndentLevel)
Trait Implementations§
source§impl From<ColumnNumber> for Info
impl From<ColumnNumber> for Info
source§fn from(info: ColumnNumber) -> Self
fn from(info: ColumnNumber) -> Self
Converts to this type from the input type.
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 From<IsStartOfLine> for Info
impl From<IsStartOfLine> for Info
source§fn from(info: IsStartOfLine) -> Self
fn from(info: IsStartOfLine) -> Self
Converts to this type from the input type.
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 From<LineStartColumnNumber> for Info
impl From<LineStartColumnNumber> for Info
source§fn from(info: LineStartColumnNumber) -> Self
fn from(info: LineStartColumnNumber) -> Self
Converts to this type from the input type.
source§impl From<LineStartIndentLevel> for Info
impl From<LineStartIndentLevel> for Info
source§fn from(info: LineStartIndentLevel) -> Self
fn from(info: LineStartIndentLevel) -> Self
Converts to this type from the input type.
source§impl PartialEq for Info
impl PartialEq for Info
impl Copy for Info
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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.