#[repr(u32)]pub enum SreCatCode {
Show 18 variants
DIGIT = 0,
NOT_DIGIT = 1,
SPACE = 2,
NOT_SPACE = 3,
WORD = 4,
NOT_WORD = 5,
LINEBREAK = 6,
NOT_LINEBREAK = 7,
LOC_WORD = 8,
LOC_NOT_WORD = 9,
UNI_DIGIT = 10,
UNI_NOT_DIGIT = 11,
UNI_SPACE = 12,
UNI_NOT_SPACE = 13,
UNI_WORD = 14,
UNI_NOT_WORD = 15,
UNI_LINEBREAK = 16,
UNI_NOT_LINEBREAK = 17,
}
Variants§
DIGIT = 0
NOT_DIGIT = 1
SPACE = 2
NOT_SPACE = 3
WORD = 4
NOT_WORD = 5
LINEBREAK = 6
NOT_LINEBREAK = 7
LOC_WORD = 8
LOC_NOT_WORD = 9
UNI_DIGIT = 10
UNI_NOT_DIGIT = 11
UNI_SPACE = 12
UNI_NOT_SPACE = 13
UNI_WORD = 14
UNI_NOT_WORD = 15
UNI_LINEBREAK = 16
UNI_NOT_LINEBREAK = 17
Trait Implementations§
Source§impl Debug for SreCatCode
impl Debug for SreCatCode
Source§impl TryFrom<u32> for SreCatCode
impl TryFrom<u32> for SreCatCode
Source§type Error = TryFromPrimitiveError<SreCatCode>
type Error = TryFromPrimitiveError<SreCatCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for SreCatCode
impl TryFromPrimitive for SreCatCode
const NAME: &'static str = "SreCatCode"
type Primitive = u32
type Error = TryFromPrimitiveError<SreCatCode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for SreCatCode
impl RefUnwindSafe for SreCatCode
impl Send for SreCatCode
impl Sync for SreCatCode
impl Unpin for SreCatCode
impl UnwindSafe for SreCatCode
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
Mutably borrows from an owned value. Read more