Struct LtK

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

(< k)

Trait Implementations§

Source§

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

Source§

fn clone(&self) -> LtK<T, 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<T: Clone, I, I2> Constrain<I2> for LtK<T, I>

Source§

type Lift = LtK<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 LtK<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 LtK<T, I>

Source§

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

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

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

Source§

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

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

impl ExPath for LtK<u16>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl ExPath for LtK<u32>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl ExPath for LtK<u64>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl ExPath for LtK<u8>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

§

impl<T, I> UnwindSafe for LtK<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.