Trait plot_interface::From2
[−]pub trait From2<T> {
fn from2(T) -> Self;
}
Expand description
Local implementation of trait From.
Separate implementation is required because of restriction : “only traits defined in the current crate can be implemented for a type parameter”.
Required Methods
fn from2(T) -> Self
fn from2(T) -> Self
Performs the conversion.