Enum regex_syntax::ast::HexLiteralKind [−][src]
pub enum HexLiteralKind { X, UnicodeShort, UnicodeLong, }
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
impl HexLiteralKind
[src]
impl HexLiteralKind
[src]Trait Implementations
impl Clone for HexLiteralKind
[src]
impl Clone for HexLiteralKind
[src]fn clone(&self) -> HexLiteralKind
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<HexLiteralKind> for HexLiteralKind
[src]
impl PartialEq<HexLiteralKind> for HexLiteralKind
[src]