Struct path_semantics_std::Id
[−]
[src]
pub struct Id<T, I = ()> { /* fields omitted */ }
Trait Implementations
impl<T, I, I2> Constrain<I2> for Id<T, I>
[src]
type Lift = Id<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 Id<T>
[src]
impl ExPath for Id<bool, Not>
[src]
impl<T, I: TrickDisplay + 'static> Display for Id<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 Id<T, I>
[src]
impl<T: Clone, I: Clone> Clone for Id<T, I>
[src]
fn clone(&self) -> Id<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