Struct AddK

Source
pub struct AddK<T, I = ()> { /* private fields */ }

Trait Implementations§

Source§

impl<T: Clone, I: Clone> Clone for AddK<T, I>

Source§

fn clone(&self) -> AddK<T, I>

Returns a duplicate 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<T: Clone, I, I2> Constrain<I2> for AddK<T, I>

Source§

type Lift = AddK<T, I2>

Source§

fn i_force(&self, i: I2) -> 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<T: Debug, I: Debug> Debug for AddK<T, I>

Source§

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

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

impl<T: Default, I: Default> Default for AddK<T, I>

Source§

fn default() -> AddK<T, I>

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

impl<T: Display, I: TrickDisplay + 'static> Display for AddK<T, I>

Source§

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

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

impl ExPath for AddK<u16>

Source§

type Lift = GeK<u16>

Source§

fn ex_path(&self) -> GeK<u16>

Source§

impl ExPath for AddK<u16, EqK<u16>>

Source§

type Lift = EqK<u16>

Source§

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

Source§

impl ExPath for AddK<u16, Even<u16>>

Source§

type Lift = If<GeK<u16>, IfK<u16, Even<u16>, Even<u16>, Odd<u16>>, False1<u16>>

Source§

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

Source§

impl ExPath for AddK<u16, GeK<u16>>

Source§

type Lift = GeK<u16>

Source§

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

Source§

impl ExPath for AddK<u16, LtK<u16>>

Source§

type Lift = IfK<u16, EqK<u16>, False1<u16>, If<GeK<u16>, LtK<u16>, False1<u16>>>

Source§

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

Source§

impl ExPath for AddK<u16, Odd<u16>>

Source§

type Lift = If<GeK<u16>, IfK<u16, Odd<u16>, Even<u16>, Odd<u16>>, False1<u16>>

Source§

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

Source§

impl ExPath for AddK<u32>

Source§

type Lift = GeK<u32>

Source§

fn ex_path(&self) -> GeK<u32>

Source§

impl ExPath for AddK<u32, EqK<u32>>

Source§

type Lift = EqK<u32>

Source§

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

Source§

impl ExPath for AddK<u32, Even<u32>>

Source§

type Lift = If<GeK<u32>, IfK<u32, Even<u32>, Even<u32>, Odd<u32>>, False1<u32>>

Source§

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

Source§

impl ExPath for AddK<u32, GeK<u32>>

Source§

type Lift = GeK<u32>

Source§

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

Source§

impl ExPath for AddK<u32, LtK<u32>>

Source§

type Lift = IfK<u32, EqK<u32>, False1<u32>, If<GeK<u32>, LtK<u32>, False1<u32>>>

Source§

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

Source§

impl ExPath for AddK<u32, Odd<u32>>

Source§

type Lift = If<GeK<u32>, IfK<u32, Odd<u32>, Even<u32>, Odd<u32>>, False1<u32>>

Source§

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

Source§

impl ExPath for AddK<u64>

Source§

type Lift = GeK<u64>

Source§

fn ex_path(&self) -> GeK<u64>

Source§

impl ExPath for AddK<u64, EqK<u64>>

Source§

type Lift = EqK<u64>

Source§

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

Source§

impl ExPath for AddK<u64, Even<u64>>

Source§

type Lift = If<GeK<u64>, IfK<u64, Even<u64>, Even<u64>, Odd<u64>>, False1<u64>>

Source§

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

Source§

impl ExPath for AddK<u64, GeK<u64>>

Source§

type Lift = GeK<u64>

Source§

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

Source§

impl ExPath for AddK<u64, LtK<u64>>

Source§

type Lift = IfK<u64, EqK<u64>, False1<u64>, If<GeK<u64>, LtK<u64>, False1<u64>>>

Source§

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

Source§

impl ExPath for AddK<u64, Odd<u64>>

Source§

type Lift = If<GeK<u64>, IfK<u64, Odd<u64>, Even<u64>, Odd<u64>>, False1<u64>>

Source§

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

Source§

impl ExPath for AddK<u8>

Source§

type Lift = GeK<u8>

Source§

fn ex_path(&self) -> GeK<u8>

Source§

impl ExPath for AddK<u8, EqK<u8>>

Source§

type Lift = EqK<u8>

Source§

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

Source§

impl ExPath for AddK<u8, Even<u8>>

Source§

type Lift = If<GeK<u8>, IfK<u8, Even<u8>, Even<u8>, Odd<u8>>, False1<u8>>

Source§

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

Source§

impl ExPath for AddK<u8, GeK<u8>>

Source§

type Lift = GeK<u8>

Source§

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

Source§

impl ExPath for AddK<u8, LtK<u8>>

Source§

type Lift = IfK<u8, EqK<u8>, False1<u8>, If<GeK<u8>, LtK<u8>, False1<u8>>>

Source§

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

Source§

impl ExPath for AddK<u8, Odd<u8>>

Source§

type Lift = If<GeK<u8>, IfK<u8, Odd<u8>, Even<u8>, Odd<u8>>, False1<u8>>

Source§

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

Source§

impl<T: PartialEq, I: PartialEq> PartialEq for AddK<T, I>

Source§

fn eq(&self, other: &AddK<T, 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<T: Copy, I: Copy> Copy for AddK<T, I>

Source§

impl<T, I> StructuralPartialEq for AddK<T, I>

Auto Trait Implementations§

§

impl<T, I> Freeze for AddK<T, I>
where T: Freeze, I: Freeze,

§

impl<T, I> RefUnwindSafe for AddK<T, I>

§

impl<T, I> Send for AddK<T, I>
where T: Send, I: Send,

§

impl<T, I> Sync for AddK<T, I>
where T: Sync, I: Sync,

§

impl<T, I> Unpin for AddK<T, I>
where T: Unpin, I: Unpin,

§

impl<T, I> UnwindSafe for AddK<T, I>
where T: 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.