pub trait ContextFrom<T> {
type Context;
// Required method
fn ctx_from(t: T, position: Point, context: &Self::Context) -> Self;
}Expand description
Safe fast value-to-value conversion which consumes the input value and references some context.
This trait should be implemented in preference to ContextInto.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.