Trait cglue::from2::From2 [−][src]
pub trait From2<T> { fn from2(other: T) -> Self; }
Expand description
Wrapper trait that is implemented on Into
types.
This trait is purely needed for type parameter inferring purposes, where Into
can not be used,
but From
would make it not as versatile. This trait acts like From
, but is implemented when
only Into
is implemented.