#[repr(u32)]pub enum SreAtCode {
BEGINNING = 0,
BEGINNING_LINE = 1,
BEGINNING_STRING = 2,
BOUNDARY = 3,
NON_BOUNDARY = 4,
END = 5,
END_LINE = 6,
END_STRING = 7,
LOC_BOUNDARY = 8,
LOC_NON_BOUNDARY = 9,
UNI_BOUNDARY = 10,
UNI_NON_BOUNDARY = 11,
}Variants§
BEGINNING = 0
BEGINNING_LINE = 1
BEGINNING_STRING = 2
BOUNDARY = 3
NON_BOUNDARY = 4
END = 5
END_LINE = 6
END_STRING = 7
LOC_BOUNDARY = 8
LOC_NON_BOUNDARY = 9
UNI_BOUNDARY = 10
UNI_NON_BOUNDARY = 11
Trait Implementations§
Source§impl TryFromPrimitive for SreAtCode
impl TryFromPrimitive for SreAtCode
impl Copy for SreAtCode
impl Eq for SreAtCode
impl StructuralPartialEq for SreAtCode
Auto Trait Implementations§
impl Freeze for SreAtCode
impl RefUnwindSafe for SreAtCode
impl Send for SreAtCode
impl Sync for SreAtCode
impl Unpin for SreAtCode
impl UnsafeUnpin for SreAtCode
impl UnwindSafe for SreAtCode
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