enum SuffixOrdering {
Accept,
Skip,
Push,
}
Expand description
The result of comparing corresponding bytes between two suffixes.
Variants§
Accept
This occurs when the given candidate byte indicates that the candidate suffix is better than the current maximal (or minimal) suffix. That is, the current candidate suffix should supplant the current maximal (or minimal) suffix.
Skip
This occurs when the given candidate byte excludes the candidate suffix from being better than the current maximal (or minimal) suffix. That is, the current candidate suffix should be dropped and the next one should be considered.
Push
This occurs when no decision to accept or skip the candidate suffix can be made, e.g., when corresponding bytes are equivalent. In this case, the next corresponding bytes should be compared.
Trait Implementations§
source§impl Clone for SuffixOrdering
impl Clone for SuffixOrdering
source§fn clone(&self) -> SuffixOrdering
fn clone(&self) -> SuffixOrdering
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 SuffixOrdering
impl Debug for SuffixOrdering
impl Copy for SuffixOrdering
Auto Trait Implementations§
impl Freeze for SuffixOrdering
impl RefUnwindSafe for SuffixOrdering
impl Send for SuffixOrdering
impl Sync for SuffixOrdering
impl Unpin for SuffixOrdering
impl UnwindSafe for SuffixOrdering
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)