enum CharClassesStatus {
}
Variants§
Normal
LitString
Character is within a string
LitStringEscape
LitRawString(u32)
Character is within a raw string
RawStringPrefix(u32)
RawStringSuffix(u32)
LitChar
LitCharEscape
BlockComment(u32)
Character inside a block comment, with the integer indicating the nesting deepness of the comment
StringInBlockComment(u32)
Character inside a block-commented string, with the integer indicating the nesting deepness of the comment
BlockCommentOpening(u32)
Status when the ‘/’ has been consumed, but not yet the ‘*’, deepness is the new deepness (after the comment opening).
BlockCommentClosing(u32)
Status when the ‘*’ has been consumed, but not yet the ‘/’, deepness is the new deepness (after the comment closing).
LineComment
Character is within a line comment
Trait Implementations§
Source§impl Clone for CharClassesStatus
impl Clone for CharClassesStatus
Source§fn clone(&self) -> CharClassesStatus
fn clone(&self) -> CharClassesStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CharClassesStatus
impl Debug for CharClassesStatus
Source§impl PartialEq for CharClassesStatus
impl PartialEq for CharClassesStatus
impl Copy for CharClassesStatus
impl Eq for CharClassesStatus
impl StructuralPartialEq for CharClassesStatus
Auto Trait Implementations§
impl Freeze for CharClassesStatus
impl RefUnwindSafe for CharClassesStatus
impl Send for CharClassesStatus
impl Sync for CharClassesStatus
impl Unpin for CharClassesStatus
impl UnwindSafe for CharClassesStatus
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
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)
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes
Size for each variant:
Normal
: 0 bytesLitString
: 0 bytesLitStringEscape
: 0 bytesLitRawString
: 4 bytesRawStringPrefix
: 4 bytesRawStringSuffix
: 4 bytesLitChar
: 0 bytesLitCharEscape
: 0 bytesBlockComment
: 4 bytesStringInBlockComment
: 4 bytesBlockCommentOpening
: 4 bytesBlockCommentClosing
: 4 bytesLineComment
: 0 bytes