Trait citadel_sdk::prelude::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.

Implementors§

§

impl<T, J> IfEqConditional<J> for T
where T: PartialEq,