Trait IfEqConditional
pub trait IfEqConditional<J>: PartialEq {
// Required methods
fn if_eq(self, other: Self, value: J) -> IfEq<J>;
fn if_eq_then(self, other: Self, lambda: impl FnOnce() -> J) -> IfEq<J>;
}
Required Methods§
fn if_eq(self, other: Self, value: J) -> IfEq<J>
fn if_eq_then(self, other: Self, lambda: impl FnOnce() -> J) -> IfEq<J>
Object Safety§
This trait is not object safe.