Struct If

Source
pub struct If<Co, Tr, Fa, I = ()> { /* private fields */ }
Expand description

\(x) = if co(x) {tr(x)} else {fa(x)}

Trait Implementations§

Source§

impl<Co: Clone, Tr: Clone, Fa: Clone, I: Clone> Clone for If<Co, Tr, Fa, I>

Source§

fn clone(&self) -> If<Co, Tr, Fa, I>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<Co: Clone, Tr: Clone, Fa: Clone, I, I2> Constrain<I> for If<Co, Tr, Fa, I2>

Source§

type Lift = If<Co, Tr, Fa, I>

Source§

fn i_force(&self, i: I) -> Self::Lift

Override input constraint even when existential path does not exist.
Source§

fn i(&self, i: I) -> Self::Lift
where Self::Lift: ExPath,

Constrains input but only if an existential path is supported for the constraint.
Source§

impl<Co: Debug, Tr: Debug, Fa: Debug, I: Debug> Debug for If<Co, Tr, Fa, I>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Co: Default, Tr: Default, Fa: Default, I: Default> Default for If<Co, Tr, Fa, I>

Source§

fn default() -> If<Co, Tr, Fa, I>

Returns the “default value” for a type. Read more
Source§

impl<Co: TrickDisplay, Tr: TrickDisplay, Fa: TrickDisplay, I: 'static + TrickDisplay> Display for If<Co, Tr, Fa, I>

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<C, T, I: Clone> ExPath for If<C, T, T, I>
where T: Constrain<I>, T::Lift: ExPath,

Source§

type Lift = <<T as Constrain<I>>::Lift as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Even<u16>, Odd<u16>>

Source§

impl ExPath for If<GeK<u16>, Even<u16>, Odd<u16>, EqK<u16>>

Source§

type Lift = IfK<u16, GeK<u16>, IfK<u16, Even<u16>, Id<bool>, Not>, IfK<u16, Odd<u16>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Even<u16>, Odd<u16>, Even<u16>>

Source§

type Lift = <GeK<u16> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Even<u16>, Odd<u16>, GeK<u16>>

Source§

type Lift = IfK<u16, EqK<u16>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Even<u16>, Odd<u16>, LtK<u16>>

Source§

type Lift = IfK<u16, LtK<u16>, IfK<u16, EqK<u16>, False1<bool>, <GeK<u16> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Even<u16>, Odd<u16>, Odd<u16>>

Source§

type Lift = <LtK<u16> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, IfK<u16, Even<u16>, Even<u16>, Odd<u16>>, False1<u16>>

Source§

type Lift = IfK<u16, Even<u16>, (), Not>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, IfK<u16, Odd<u16>, Even<u16>, Odd<u16>>, False1<u16>>

Source§

impl ExPath for If<GeK<u16>, Odd<u16>, Even<u16>>

Source§

impl ExPath for If<GeK<u16>, Odd<u16>, Even<u16>, EqK<u16>>

Source§

type Lift = IfK<u16, GeK<u16>, IfK<u16, Odd<u16>, Id<bool>, Not>, IfK<u16, Even<u16>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Odd<u16>, Even<u16>, Even<u16>>

Source§

type Lift = <LtK<u16> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Odd<u16>, Even<u16>, GeK<u16>>

Source§

type Lift = IfK<u16, EqK<u16>, Id<bool>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Odd<u16>, Even<u16>, LtK<u16>>

Source§

type Lift = IfK<u16, LtK<u16>, IfK<u16, EqK<u16>, False1<bool>, <LtK<u16> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u16>, Odd<u16>, Even<u16>, Odd<u16>>

Source§

type Lift = <GeK<u16> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Even<u32>, Odd<u32>>

Source§

impl ExPath for If<GeK<u32>, Even<u32>, Odd<u32>, EqK<u32>>

Source§

type Lift = IfK<u32, GeK<u32>, IfK<u32, Even<u32>, Id<bool>, Not>, IfK<u32, Odd<u32>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Even<u32>, Odd<u32>, Even<u32>>

Source§

type Lift = <GeK<u32> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Even<u32>, Odd<u32>, GeK<u32>>

Source§

type Lift = IfK<u32, EqK<u32>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Even<u32>, Odd<u32>, LtK<u32>>

Source§

type Lift = IfK<u32, LtK<u32>, IfK<u32, EqK<u32>, False1<bool>, <GeK<u32> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Even<u32>, Odd<u32>, Odd<u32>>

Source§

type Lift = <LtK<u32> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, IfK<u32, Even<u32>, Even<u32>, Odd<u32>>, False1<u32>>

Source§

type Lift = IfK<u32, Even<u32>, (), Not>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, IfK<u32, Odd<u32>, Even<u32>, Odd<u32>>, False1<u32>>

Source§

impl ExPath for If<GeK<u32>, Odd<u32>, Even<u32>>

Source§

impl ExPath for If<GeK<u32>, Odd<u32>, Even<u32>, EqK<u32>>

Source§

type Lift = IfK<u32, GeK<u32>, IfK<u32, Odd<u32>, Id<bool>, Not>, IfK<u32, Even<u32>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Odd<u32>, Even<u32>, Even<u32>>

Source§

type Lift = <LtK<u32> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Odd<u32>, Even<u32>, GeK<u32>>

Source§

type Lift = IfK<u32, EqK<u32>, Id<bool>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Odd<u32>, Even<u32>, LtK<u32>>

Source§

type Lift = IfK<u32, LtK<u32>, IfK<u32, EqK<u32>, False1<bool>, <LtK<u32> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u32>, Odd<u32>, Even<u32>, Odd<u32>>

Source§

type Lift = <GeK<u32> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Even<u64>, Odd<u64>>

Source§

impl ExPath for If<GeK<u64>, Even<u64>, Odd<u64>, EqK<u64>>

Source§

type Lift = IfK<u64, GeK<u64>, IfK<u64, Even<u64>, Id<bool>, Not>, IfK<u64, Odd<u64>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Even<u64>, Odd<u64>, Even<u64>>

Source§

type Lift = <GeK<u64> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Even<u64>, Odd<u64>, GeK<u64>>

Source§

type Lift = IfK<u64, EqK<u64>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Even<u64>, Odd<u64>, LtK<u64>>

Source§

type Lift = IfK<u64, LtK<u64>, IfK<u64, EqK<u64>, False1<bool>, <GeK<u64> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Even<u64>, Odd<u64>, Odd<u64>>

Source§

type Lift = <LtK<u64> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, IfK<u64, Even<u64>, Even<u64>, Odd<u64>>, False1<u64>>

Source§

type Lift = IfK<u64, Even<u64>, (), Not>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, IfK<u64, Odd<u64>, Even<u64>, Odd<u64>>, False1<u64>>

Source§

impl ExPath for If<GeK<u64>, Odd<u64>, Even<u64>>

Source§

impl ExPath for If<GeK<u64>, Odd<u64>, Even<u64>, EqK<u64>>

Source§

type Lift = IfK<u64, GeK<u64>, IfK<u64, Odd<u64>, Id<bool>, Not>, IfK<u64, Even<u64>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Odd<u64>, Even<u64>, Even<u64>>

Source§

type Lift = <LtK<u64> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Odd<u64>, Even<u64>, GeK<u64>>

Source§

type Lift = IfK<u64, EqK<u64>, Id<bool>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Odd<u64>, Even<u64>, LtK<u64>>

Source§

type Lift = IfK<u64, LtK<u64>, IfK<u64, EqK<u64>, False1<bool>, <LtK<u64> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u64>, Odd<u64>, Even<u64>, Odd<u64>>

Source§

type Lift = <GeK<u64> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Even<u8>, Odd<u8>>

Source§

impl ExPath for If<GeK<u8>, Even<u8>, Odd<u8>, EqK<u8>>

Source§

type Lift = IfK<u8, GeK<u8>, IfK<u8, Even<u8>, Id<bool>, Not>, IfK<u8, Odd<u8>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Even<u8>, Odd<u8>, Even<u8>>

Source§

type Lift = <GeK<u8> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Even<u8>, Odd<u8>, GeK<u8>>

Source§

type Lift = IfK<u8, EqK<u8>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Even<u8>, Odd<u8>, LtK<u8>>

Source§

type Lift = IfK<u8, LtK<u8>, IfK<u8, EqK<u8>, False1<bool>, <GeK<u8> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Even<u8>, Odd<u8>, Odd<u8>>

Source§

type Lift = <LtK<u8> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, IfK<u8, Even<u8>, Even<u8>, Odd<u8>>, False1<u8>>

Source§

type Lift = IfK<u8, Even<u8>, (), Not>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, IfK<u8, Odd<u8>, Even<u8>, Odd<u8>>, False1<u8>>

Source§

impl ExPath for If<GeK<u8>, Odd<u8>, Even<u8>>

Source§

impl ExPath for If<GeK<u8>, Odd<u8>, Even<u8>, EqK<u8>>

Source§

type Lift = IfK<u8, GeK<u8>, IfK<u8, Odd<u8>, Id<bool>, Not>, IfK<u8, Even<u8>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Odd<u8>, Even<u8>, Even<u8>>

Source§

type Lift = <LtK<u8> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Odd<u8>, Even<u8>, GeK<u8>>

Source§

type Lift = IfK<u8, EqK<u8>, Id<bool>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Odd<u8>, Even<u8>, LtK<u8>>

Source§

type Lift = IfK<u8, LtK<u8>, IfK<u8, EqK<u8>, False1<bool>, <LtK<u8> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<GeK<u8>, Odd<u8>, Even<u8>, Odd<u8>>

Source§

type Lift = <GeK<u8> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Even<u16>, Odd<u16>>

Source§

impl ExPath for If<LtK<u16>, Even<u16>, Odd<u16>, EqK<u16>>

Source§

type Lift = IfK<u16, LtK<u16>, IfK<u16, Even<u16>, Id<bool>, Not>, IfK<u16, Odd<u16>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Even<u16>, Odd<u16>, Even<u16>>

Source§

type Lift = <LtK<u16> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Even<u16>, Odd<u16>, GeK<u16>>

Source§

type Lift = IfK<u16, GeK<u16>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Even<u16>, Odd<u16>, LtK<u16>>

Source§

type Lift = IfK<u16, LtK<u16>, IfK<u16, EqK<u16>, False1<bool>, <LtK<u16> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Even<u16>, Odd<u16>, Odd<u16>>

Source§

type Lift = <GeK<u16> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, False1<u16>, Even<u16>>

Source§

impl ExPath for If<LtK<u16>, Odd<u16>, Even<u16>>

Source§

impl ExPath for If<LtK<u16>, Odd<u16>, Even<u16>, EqK<u16>>

Source§

type Lift = IfK<u16, LtK<u16>, IfK<u16, Odd<u16>, Id<bool>, Not>, IfK<u16, Even<u16>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Odd<u16>, Even<u16>, Even<u16>>

Source§

type Lift = <GeK<u16> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Odd<u16>, Even<u16>, GeK<u16>>

Source§

type Lift = IfK<u16, GeK<u16>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Odd<u16>, Even<u16>, LtK<u16>>

Source§

type Lift = IfK<u16, LtK<u16>, IfK<u16, EqK<u16>, False1<bool>, <GeK<u16> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u16>, Odd<u16>, Even<u16>, Odd<u16>>

Source§

type Lift = <LtK<u16> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Even<u32>, Odd<u32>>

Source§

impl ExPath for If<LtK<u32>, Even<u32>, Odd<u32>, EqK<u32>>

Source§

type Lift = IfK<u32, LtK<u32>, IfK<u32, Even<u32>, Id<bool>, Not>, IfK<u32, Odd<u32>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Even<u32>, Odd<u32>, Even<u32>>

Source§

type Lift = <LtK<u32> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Even<u32>, Odd<u32>, GeK<u32>>

Source§

type Lift = IfK<u32, GeK<u32>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Even<u32>, Odd<u32>, LtK<u32>>

Source§

type Lift = IfK<u32, LtK<u32>, IfK<u32, EqK<u32>, False1<bool>, <LtK<u32> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Even<u32>, Odd<u32>, Odd<u32>>

Source§

type Lift = <GeK<u32> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, False1<u32>, Even<u32>>

Source§

impl ExPath for If<LtK<u32>, Odd<u32>, Even<u32>>

Source§

impl ExPath for If<LtK<u32>, Odd<u32>, Even<u32>, EqK<u32>>

Source§

type Lift = IfK<u32, LtK<u32>, IfK<u32, Odd<u32>, Id<bool>, Not>, IfK<u32, Even<u32>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Odd<u32>, Even<u32>, Even<u32>>

Source§

type Lift = <GeK<u32> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Odd<u32>, Even<u32>, GeK<u32>>

Source§

type Lift = IfK<u32, GeK<u32>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Odd<u32>, Even<u32>, LtK<u32>>

Source§

type Lift = IfK<u32, LtK<u32>, IfK<u32, EqK<u32>, False1<bool>, <GeK<u32> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u32>, Odd<u32>, Even<u32>, Odd<u32>>

Source§

type Lift = <LtK<u32> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Even<u64>, Odd<u64>>

Source§

impl ExPath for If<LtK<u64>, Even<u64>, Odd<u64>, EqK<u64>>

Source§

type Lift = IfK<u64, LtK<u64>, IfK<u64, Even<u64>, Id<bool>, Not>, IfK<u64, Odd<u64>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Even<u64>, Odd<u64>, Even<u64>>

Source§

type Lift = <LtK<u64> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Even<u64>, Odd<u64>, GeK<u64>>

Source§

type Lift = IfK<u64, GeK<u64>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Even<u64>, Odd<u64>, LtK<u64>>

Source§

type Lift = IfK<u64, LtK<u64>, IfK<u64, EqK<u64>, False1<bool>, <LtK<u64> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Even<u64>, Odd<u64>, Odd<u64>>

Source§

type Lift = <GeK<u64> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, False1<u64>, Even<u64>>

Source§

impl ExPath for If<LtK<u64>, Odd<u64>, Even<u64>>

Source§

impl ExPath for If<LtK<u64>, Odd<u64>, Even<u64>, EqK<u64>>

Source§

type Lift = IfK<u64, LtK<u64>, IfK<u64, Odd<u64>, Id<bool>, Not>, IfK<u64, Even<u64>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Odd<u64>, Even<u64>, Even<u64>>

Source§

type Lift = <GeK<u64> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Odd<u64>, Even<u64>, GeK<u64>>

Source§

type Lift = IfK<u64, GeK<u64>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Odd<u64>, Even<u64>, LtK<u64>>

Source§

type Lift = IfK<u64, LtK<u64>, IfK<u64, EqK<u64>, False1<bool>, <GeK<u64> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u64>, Odd<u64>, Even<u64>, Odd<u64>>

Source§

type Lift = <LtK<u64> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Even<u8>, Odd<u8>>

Source§

impl ExPath for If<LtK<u8>, Even<u8>, Odd<u8>, EqK<u8>>

Source§

type Lift = IfK<u8, LtK<u8>, IfK<u8, Even<u8>, Id<bool>, Not>, IfK<u8, Odd<u8>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Even<u8>, Odd<u8>, Even<u8>>

Source§

type Lift = <LtK<u8> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Even<u8>, Odd<u8>, GeK<u8>>

Source§

type Lift = IfK<u8, GeK<u8>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Even<u8>, Odd<u8>, LtK<u8>>

Source§

type Lift = IfK<u8, LtK<u8>, IfK<u8, EqK<u8>, False1<bool>, <LtK<u8> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Even<u8>, Odd<u8>, Odd<u8>>

Source§

type Lift = <GeK<u8> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, False1<u8>, Even<u8>>

Source§

impl ExPath for If<LtK<u8>, Odd<u8>, Even<u8>>

Source§

impl ExPath for If<LtK<u8>, Odd<u8>, Even<u8>, EqK<u8>>

Source§

type Lift = IfK<u8, LtK<u8>, IfK<u8, Odd<u8>, Id<bool>, Not>, IfK<u8, Even<u8>, Id<bool>, Not>>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Odd<u8>, Even<u8>, Even<u8>>

Source§

type Lift = <GeK<u8> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Odd<u8>, Even<u8>, GeK<u8>>

Source§

type Lift = IfK<u8, GeK<u8>, Not, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Odd<u8>, Even<u8>, LtK<u8>>

Source§

type Lift = IfK<u8, LtK<u8>, IfK<u8, EqK<u8>, False1<bool>, <GeK<u8> as ExPath>::Lift>, ()>

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl ExPath for If<LtK<u8>, Odd<u8>, Even<u8>, Odd<u8>>

Source§

type Lift = <LtK<u8> as ExPath>::Lift

Source§

fn ex_path(&self) -> Self::Lift

Source§

impl<Co: PartialEq, Tr: PartialEq, Fa: PartialEq, I: PartialEq> PartialEq for If<Co, Tr, Fa, I>

Source§

fn eq(&self, other: &If<Co, Tr, Fa, I>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<Co: Copy, Tr: Copy, Fa: Copy, I: Copy> Copy for If<Co, Tr, Fa, I>

Source§

impl<Co, Tr, Fa, I> StructuralPartialEq for If<Co, Tr, Fa, I>

Auto Trait Implementations§

§

impl<Co, Tr, Fa, I> Freeze for If<Co, Tr, Fa, I>
where Co: Freeze, Tr: Freeze, Fa: Freeze, I: Freeze,

§

impl<Co, Tr, Fa, I> RefUnwindSafe for If<Co, Tr, Fa, I>

§

impl<Co, Tr, Fa, I> Send for If<Co, Tr, Fa, I>
where Co: Send, Tr: Send, Fa: Send, I: Send,

§

impl<Co, Tr, Fa, I> Sync for If<Co, Tr, Fa, I>
where Co: Sync, Tr: Sync, Fa: Sync, I: Sync,

§

impl<Co, Tr, Fa, I> Unpin for If<Co, Tr, Fa, I>
where Co: Unpin, Tr: Unpin, Fa: Unpin, I: Unpin,

§

impl<Co, Tr, Fa, I> UnwindSafe for If<Co, Tr, Fa, I>
where Co: UnwindSafe, Tr: UnwindSafe, Fa: UnwindSafe, I: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.