pub trait ElementSatisfy<ElementConstrain: ?Sized> {
// Required methods
fn to_constrain_object(&self) -> &ElementConstrain;
fn to_constrain_object_mut(&mut self) -> &mut ElementConstrain;
}Expand description
ElementConstrain is a trait that can be made into trait object where the tuple element satisfies.
Required Methods§
fn to_constrain_object(&self) -> &ElementConstrain
fn to_constrain_object_mut(&mut self) -> &mut ElementConstrain
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".