Trait aoclib::geometry::map::ContextFrom
source · 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
.