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.
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.