Enum regex_syntax::ast::HexLiteralKind [−][src]
pub enum HexLiteralKind {
X,
UnicodeShort,
UnicodeLong,
}
Expand description
The type of a Unicode hex literal.
Note that all variants behave the same when used with brackets. They only differ when used without brackets in the number of hex digits that must follow.
Variants
A \x
prefix. When used without brackets, this form is limited to
two digits.
A \u
prefix. When used without brackets, this form is limited to
four digits.
A \U
prefix. When used without brackets, this form is limited to
eight digits.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HexLiteralKind
impl Send for HexLiteralKind
impl Sync for HexLiteralKind
impl Unpin for HexLiteralKind
impl UnwindSafe for HexLiteralKind
Blanket Implementations
Mutably borrows from an owned value. Read more