#[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 Clone for SreCatCode
impl Clone for SreCatCode
Source§fn clone(&self) -> SreCatCode
fn clone(&self) -> SreCatCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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>>
impl Copy for SreCatCode
Auto Trait Implementations§
impl Freeze for SreCatCode
impl RefUnwindSafe for SreCatCode
impl Send for SreCatCode
impl Sync for SreCatCode
impl Unpin for SreCatCode
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more