Trait formality_core::Upcast
source · pub trait Upcast<T>: Clone {
// Required method
fn upcast(self) -> T;
}
Expand description
Our version of Into
. This is the trait you use in where clauses,
but you typically implement UpcastFrom
.
Required Methods§
Object Safety§
This trait is not object safe.