pub struct SortingResult<'a, T: Ord + Copy + Sync + Send + Debug + Clone + PartialEq, C: ?Sized> { /* private fields */ }Expand description
A Sorting result that holds a SortingResultKind
Implementationsยง
Sourceยงimpl<'a, T: Ord + Copy + Sync + Send + Debug + Clone + PartialEq, C: ?Sized> SortingResult<'a, T, C>
impl<'a, T: Ord + Copy + Sync + Send + Debug + Clone + PartialEq, C: ?Sized> SortingResult<'a, T, C>
pub fn get_inner_sorting_result_kind(&self) -> &SortingResultKind<T>
pub fn get_inner_config(&'a self) -> &'a C
Trait Implementationsยง
Auto Trait Implementationsยง
impl<'a, T, C> Freeze for SortingResult<'a, T, C>where
C: ?Sized,
impl<'a, T, C> !RefUnwindSafe for SortingResult<'a, T, C>
impl<'a, T, C> !Send for SortingResult<'a, T, C>
impl<'a, T, C> !Sync for SortingResult<'a, T, C>
impl<'a, T, C> Unpin for SortingResult<'a, T, C>
impl<'a, T, C> !UnwindSafe for SortingResult<'a, T, C>
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