pub struct BranchComparator<BranchingFilter: IBranchFilter, DualStorage: UserDualStore> { /* private fields */ }
Implementations§
Source§impl<BranchingFilter: IBranchFilter, DualStorage: UserDualStore> BranchComparator<BranchingFilter, DualStorage>
impl<BranchingFilter: IBranchFilter, DualStorage: UserDualStore> BranchComparator<BranchingFilter, DualStorage>
pub fn with_bound() -> Self
pub fn without_bound() -> Self
Trait Implementations§
Source§impl<BranchingFilter: Clone + IBranchFilter, DualStorage: Clone + UserDualStore> Clone for BranchComparator<BranchingFilter, DualStorage>
impl<BranchingFilter: Clone + IBranchFilter, DualStorage: Clone + UserDualStore> Clone for BranchComparator<BranchingFilter, DualStorage>
Source§fn clone(&self) -> BranchComparator<BranchingFilter, DualStorage>
fn clone(&self) -> BranchComparator<BranchingFilter, DualStorage>
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<BranchingFilter: IBranchFilter, DualStorage: UserDualStore> Compare<Branch<BranchingFilter, DualStorage>> for BranchComparator<BranchingFilter, DualStorage>
impl<BranchingFilter: IBranchFilter, DualStorage: UserDualStore> Compare<Branch<BranchingFilter, DualStorage>> for BranchComparator<BranchingFilter, DualStorage>
Source§fn compare(
&self,
l: &Branch<BranchingFilter, DualStorage>,
r: &Branch<BranchingFilter, DualStorage>,
) -> Ordering
fn compare( &self, l: &Branch<BranchingFilter, DualStorage>, r: &Branch<BranchingFilter, DualStorage>, ) -> Ordering
Compares two values, returning
Less
, Equal
, or Greater
if l
is less
than, equal to, or greater than r
, respectively.Source§fn borrowing(self) -> Borrowing<Self, L, R>where
Self: Sized,
fn borrowing(self) -> Borrowing<Self, L, R>where
Self: Sized,
Borrows the comparator’s parameters before comparing them. Read more
Source§fn rev(self) -> Rev<Self>where
Self: Sized,
fn rev(self) -> Rev<Self>where
Self: Sized,
Reverses the ordering of the comparator. Read more
Auto Trait Implementations§
impl<BranchingFilter, DualStorage> Freeze for BranchComparator<BranchingFilter, DualStorage>
impl<BranchingFilter, DualStorage> RefUnwindSafe for BranchComparator<BranchingFilter, DualStorage>where
BranchingFilter: RefUnwindSafe,
DualStorage: RefUnwindSafe,
impl<BranchingFilter, DualStorage> Send for BranchComparator<BranchingFilter, DualStorage>
impl<BranchingFilter, DualStorage> Sync for BranchComparator<BranchingFilter, DualStorage>
impl<BranchingFilter, DualStorage> Unpin for BranchComparator<BranchingFilter, DualStorage>
impl<BranchingFilter, DualStorage> UnwindSafe for BranchComparator<BranchingFilter, DualStorage>where
BranchingFilter: UnwindSafe,
DualStorage: UnwindSafe,
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