pub enum ResolvedSteps {
Ok(Vec<Hit>),
Ambiguous(Vec<AmbiguityCollision>),
}Expand description
The tagged result of resolve_hits.
Variants§
Ok(Vec<Hit>)
The greedy, left-to-right, non-overlapping selection.
Ambiguous(Vec<AmbiguityCollision>)
Every same-start/same-length tie that blocked selection.
Auto Trait Implementations§
impl !RefUnwindSafe for ResolvedSteps
impl !Send for ResolvedSteps
impl !Sync for ResolvedSteps
impl !UnwindSafe for ResolvedSteps
impl Freeze for ResolvedSteps
impl Unpin for ResolvedSteps
impl UnsafeUnpin for ResolvedSteps
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> 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