pub enum BreakState {
Break,
Keep,
NoMatch,
Intermediate(u8),
Index(u8),
}
Expand description
Break state
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. In particular, the `DataProvider` implementations are only
guaranteed to match with this version's `*_unstable` providers. Use with caution.
Variants§
Break
Break
Keep
Keep rule
NoMatch
Non-matching rule
Intermediate(u8)
We have to look ahead one more character.
Index(u8)
Index of a state.
Trait Implementations§
Source§impl AsULE for BreakState
impl AsULE for BreakState
Source§impl Bake for BreakState
impl Bake for BreakState
Source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
Source§impl BakeSize for BreakState
impl BakeSize for BreakState
Source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
Source§impl Clone for BreakState
impl Clone for BreakState
Source§fn clone(&self) -> BreakState
fn clone(&self) -> BreakState
Returns a copy 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 BreakState
impl Debug for BreakState
Source§impl<'de> Deserialize<'de> for BreakState
impl<'de> Deserialize<'de> for BreakState
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BreakState
impl PartialEq for BreakState
Source§impl Serialize for BreakState
impl Serialize for BreakState
impl Copy for BreakState
impl StructuralPartialEq for BreakState
Auto Trait Implementations§
impl Freeze for BreakState
impl RefUnwindSafe for BreakState
impl Send for BreakState
impl Sync for BreakState
impl Unpin for BreakState
impl UnwindSafe for BreakState
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