Trait formality_core::UpcastFrom
source · pub trait UpcastFrom<T: Clone> {
// Required method
fn upcast_from(term: T) -> Self;
}
Expand description
Our version of From
. One twist: it is implemented for &T for all T.
This is the trait you implement.
Required Methods§
fn upcast_from(term: T) -> Self
Object Safety§
This trait is not object safe.