Struct SpaceChildOrdHelper
pub struct SpaceChildOrdHelper<T>(pub T)
where
T: SpaceChildOrd;Expand description
Helper type to sort m.space.child events using using the algorithm for ordering children
within a space.
This type can be use with BTreeMap or BTreeSet to order space child events.
Tuple Fields§
§0: TTrait Implementations§
§impl<T> Clone for SpaceChildOrdHelper<T>where
T: Clone + SpaceChildOrd,
impl<T> Clone for SpaceChildOrdHelper<T>where
T: Clone + SpaceChildOrd,
§fn clone(&self) -> SpaceChildOrdHelper<T>
fn clone(&self) -> SpaceChildOrdHelper<T>
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 more§impl<T> Debug for SpaceChildOrdHelper<T>where
T: Debug + SpaceChildOrd,
impl<T> Debug for SpaceChildOrdHelper<T>where
T: Debug + SpaceChildOrd,
§impl<T> Deref for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
impl<T> Deref for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
§impl<T> Ord for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
impl<T> Ord for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
§fn cmp(&self, other: &SpaceChildOrdHelper<T>) -> Ordering
fn cmp(&self, other: &SpaceChildOrdHelper<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl<T> PartialEq for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
impl<T> PartialEq for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
§impl<T> PartialOrd for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
impl<T> PartialOrd for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
impl<T> Eq for SpaceChildOrdHelper<T>where
T: SpaceChildOrd,
Auto Trait Implementations§
impl<T> Freeze for SpaceChildOrdHelper<T>where
T: Freeze,
impl<T> RefUnwindSafe for SpaceChildOrdHelper<T>where
T: RefUnwindSafe,
impl<T> Send for SpaceChildOrdHelper<T>where
T: Send,
impl<T> Sync for SpaceChildOrdHelper<T>where
T: Sync,
impl<T> Unpin for SpaceChildOrdHelper<T>where
T: Unpin,
impl<T> UnwindSafe for SpaceChildOrdHelper<T>where
T: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T, A> DynAccess<T> for A
impl<T, A> DynAccess<T> for A
Source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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