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 Clone for BreakState
impl Clone for BreakState
Source§fn clone(&self) -> BreakState
fn clone(&self) -> BreakState
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 BreakState
impl Debug for BreakState
Source§impl PartialEq for BreakState
impl PartialEq 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,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 2 bytes
Size for each variant:
Break: 0 bytesKeep: 0 bytesNoMatch: 0 bytesIntermediate: 1 byteIndex: 1 byte