pub trait UpdateFace {
// Required method
fn update_region<T>(
&self,
update: impl FnOnce(&Handle<Region>, &mut Core) -> T,
core: &mut Core,
) -> Self
where T: Insert<Inserted = Handle<Region>>;
}
Expand description
Update a Face
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.