Struct path_semantics_std::Add
[−]
[src]
pub struct Add<T, I = ()> { /* fields omitted */ }
Trait Implementations
impl<T, I, I2> Constrain<I2> for Add<T, I>
[src]
type Lift = Add<T, I2>
fn i_force(&self, i: I2) -> Self::Lift
[src]
Override input constraint even when existential path does not exist.
fn i(&self, i: I) -> Self::Lift where
Self::Lift: ExPath,
[src]
Self::Lift: ExPath,
Constrains input but only if an existential path is supported for the constraint.
impl<T> ExPath for Add<T>
[src]
impl ExPath for Add<u8, (Even<u8>, Odd<u8>)>
[src]
impl ExPath for Add<u8, (Odd<u8>, Even<u8>)>
[src]
impl ExPath for Add<u8, (Even<u8>, Even<u8>)>
[src]
impl ExPath for Add<u8, (Odd<u8>, Odd<u8>)>
[src]
impl ExPath for Add<u16, (Even<u16>, Odd<u16>)>
[src]
impl ExPath for Add<u16, (Odd<u16>, Even<u16>)>
[src]
impl ExPath for Add<u16, (Even<u16>, Even<u16>)>
[src]
impl ExPath for Add<u16, (Odd<u16>, Odd<u16>)>
[src]
impl ExPath for Add<u32, (Even<u32>, Odd<u32>)>
[src]
impl ExPath for Add<u32, (Odd<u32>, Even<u32>)>
[src]
impl ExPath for Add<u32, (Even<u32>, Even<u32>)>
[src]
impl ExPath for Add<u32, (Odd<u32>, Odd<u32>)>
[src]
impl ExPath for Add<u64, (Even<u64>, Odd<u64>)>
[src]
impl ExPath for Add<u64, (Odd<u64>, Even<u64>)>
[src]
impl ExPath for Add<u64, (Even<u64>, Even<u64>)>
[src]
impl ExPath for Add<u64, (Odd<u64>, Odd<u64>)>
[src]
impl<T: Clone> Path<Even<u8>> for Add<u8, T> where
Even<u8, T>: ExPath,
[src]
Even<u8, T>: ExPath,
type Lift = Eq<bool, <<Even<u8> as Constrain<T>>::Lift as ExPath>::Lift>
fn path_force(&self, arg: Even<u8>) -> Self::Lift
[src]
fn path(&self, arg: T) -> Self::Lift where
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
[src]
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
Can call method if the existential paths of constrained input matches.
impl<T: Clone> Path<Odd<u8>> for Add<u8, T> where
Odd<u8, T>: ExPath,
[src]
Odd<u8, T>: ExPath,
type Lift = Xor<<<Odd<u8> as Constrain<T>>::Lift as ExPath>::Lift>
fn path_force(&self, arg: Odd<u8>) -> Self::Lift
[src]
fn path(&self, arg: T) -> Self::Lift where
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
[src]
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
Can call method if the existential paths of constrained input matches.
impl<T: Clone> Path<Even<u16>> for Add<u16, T> where
Even<u16, T>: ExPath,
[src]
Even<u16, T>: ExPath,
type Lift = Eq<bool, <<Even<u16> as Constrain<T>>::Lift as ExPath>::Lift>
fn path_force(&self, arg: Even<u16>) -> Self::Lift
[src]
fn path(&self, arg: T) -> Self::Lift where
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
[src]
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
Can call method if the existential paths of constrained input matches.
impl<T: Clone> Path<Odd<u16>> for Add<u16, T> where
Odd<u16, T>: ExPath,
[src]
Odd<u16, T>: ExPath,
type Lift = Xor<<<Odd<u16> as Constrain<T>>::Lift as ExPath>::Lift>
fn path_force(&self, arg: Odd<u16>) -> Self::Lift
[src]
fn path(&self, arg: T) -> Self::Lift where
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
[src]
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
Can call method if the existential paths of constrained input matches.
impl<T: Clone> Path<Even<u32>> for Add<u32, T> where
Even<u32, T>: ExPath,
[src]
Even<u32, T>: ExPath,
type Lift = Eq<bool, <<Even<u32> as Constrain<T>>::Lift as ExPath>::Lift>
fn path_force(&self, arg: Even<u32>) -> Self::Lift
[src]
fn path(&self, arg: T) -> Self::Lift where
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
[src]
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
Can call method if the existential paths of constrained input matches.
impl<T: Clone> Path<Odd<u32>> for Add<u32, T> where
Odd<u32, T>: ExPath,
[src]
Odd<u32, T>: ExPath,
type Lift = Xor<<<Odd<u32> as Constrain<T>>::Lift as ExPath>::Lift>
fn path_force(&self, arg: Odd<u32>) -> Self::Lift
[src]
fn path(&self, arg: T) -> Self::Lift where
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
[src]
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
Can call method if the existential paths of constrained input matches.
impl<T: Clone> Path<Even<u64>> for Add<u64, T> where
Even<u64, T>: ExPath,
[src]
Even<u64, T>: ExPath,
type Lift = Eq<bool, <<Even<u64> as Constrain<T>>::Lift as ExPath>::Lift>
fn path_force(&self, arg: Even<u64>) -> Self::Lift
[src]
fn path(&self, arg: T) -> Self::Lift where
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
[src]
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
Can call method if the existential paths of constrained input matches.
impl<T: Clone> Path<Odd<u64>> for Add<u64, T> where
Odd<u64, T>: ExPath,
[src]
Odd<u64, T>: ExPath,
type Lift = Xor<<<Odd<u64> as Constrain<T>>::Lift as ExPath>::Lift>
fn path_force(&self, arg: Odd<u64>) -> Self::Lift
[src]
fn path(&self, arg: T) -> Self::Lift where
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
[src]
Self::Lift: ExPath<Lift = <<T as Constrain<Self::Lift>>::Lift as ExPath>::Lift>,
T: Constrain<Self::Lift>,
<T as Constrain<Self::Lift>>::Lift: ExPath,
Self: ExPath,
Can call method if the existential paths of constrained input matches.
impl<T, I: TrickDisplay + 'static> Display for Add<T, I>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: Copy, I: Copy> Copy for Add<T, I>
[src]
impl<T: Clone, I: Clone> Clone for Add<T, I>
[src]
fn clone(&self) -> Add<T, I>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more