pub struct CmpSomething<Obj> {
pub constraint_objs: (Obj, Obj),
pub comparison: Comparison,
}Fields§
§constraint_objs: (Obj, Obj)§comparison: ComparisonTrait Implementations§
Source§impl<Obj: Clone> Clone for CmpSomething<Obj>
impl<Obj: Clone> Clone for CmpSomething<Obj>
Source§fn clone(&self) -> CmpSomething<Obj>
fn clone(&self) -> CmpSomething<Obj>
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<Obj> CollectObjs<Obj> for CmpSomething<Obj>
impl<Obj> CollectObjs<Obj> for CmpSomething<Obj>
fn collect_objs(&self, collect: impl FnMut(&Obj))
Source§impl<Obj: Debug> Debug for CmpSomething<Obj>
impl<Obj: Debug> Debug for CmpSomething<Obj>
Source§impl<'de, Obj> Deserialize<'de> for CmpSomething<Obj>where
Obj: Deserialize<'de>,
impl<'de, Obj> Deserialize<'de> for CmpSomething<Obj>where
Obj: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<Obj: Display> Display for CmpSomething<Obj>
impl<Obj: Display> Display for CmpSomething<Obj>
Source§impl<Obj: PartialEq> PartialEq for CmpSomething<Obj>
impl<Obj: PartialEq> PartialEq for CmpSomething<Obj>
impl<Obj: Eq> Eq for CmpSomething<Obj>
impl<Obj> StructuralPartialEq for CmpSomething<Obj>
Auto Trait Implementations§
impl<Obj> Freeze for CmpSomething<Obj>where
Obj: Freeze,
impl<Obj> RefUnwindSafe for CmpSomething<Obj>where
Obj: RefUnwindSafe,
impl<Obj> Send for CmpSomething<Obj>where
Obj: Send,
impl<Obj> Sync for CmpSomething<Obj>where
Obj: Sync,
impl<Obj> Unpin for CmpSomething<Obj>where
Obj: Unpin,
impl<Obj> UnwindSafe for CmpSomething<Obj>where
Obj: 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<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