Trait default_constructor::InferInto
source · pub trait InferInto<A, Marker>: Sized {
// Required method
fn into(self) -> A;
}
Expand description
Into
with relaxed orphan rule, you can define non-owned
conversion with a owned Marker
. Keep in mind this inference
will fail if multiple conversion paths are found.
Required Methods§
Object Safety§
This trait is not object safe.