Enum rustfmt_nightly::comment::CharClassesStatus [−][src]
enum CharClassesStatus {
}Variants
Character is within a string
LitRawString(u32)Character is within a raw string
Tuple Fields of LitRawString
0: u32RawStringPrefix(u32)Tuple Fields of RawStringPrefix
0: u32RawStringSuffix(u32)Tuple Fields of RawStringSuffix
0: u32BlockComment(u32)Character inside a block comment, with the integer indicating the nesting deepness of the comment
Tuple Fields of BlockComment
0: u32StringInBlockComment(u32)Character inside a block-commented string, with the integer indicating the nesting deepness of the comment
Tuple Fields of StringInBlockComment
0: u32BlockCommentOpening(u32)Status when the ‘/’ has been consumed, but not yet the ‘*’, deepness is the new deepness (after the comment opening).
Tuple Fields of BlockCommentOpening
0: u32BlockCommentClosing(u32)Status when the ‘*’ has been consumed, but not yet the ‘/’, deepness is the new deepness (after the comment closing).
Tuple Fields of BlockCommentClosing
0: u32Character is within a line comment
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CharClassesStatus
impl Send for CharClassesStatus
impl Sync for CharClassesStatus
impl Unpin for CharClassesStatus
impl UnwindSafe for CharClassesStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
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