Enum rustc_ap_rustc_lexer::unescape::Mode [−][src]
pub enum Mode { Char, Str, Byte, ByteStr, RawStr, RawByteStr, }
What kind of literal do we parse.
Variants
Implementations
impl Mode
[src]
impl Mode
[src]pub fn in_single_quotes(self) -> bool
[src]
pub fn in_double_quotes(self) -> bool
[src]
pub fn is_bytes(self) -> bool
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl RefUnwindSafe for Mode
impl UnwindSafe for Mode
impl UnwindSafe for Mode