pub trait UnionStrategy {
type Info: Clone;
// Required methods
fn single_info() -> Self::Info;
fn check_directoin(parent: &Self::Info, child: &Self::Info) -> bool;
fn unite(parent: &Self::Info, child: &Self::Info) -> Self::Info;
}
Required Associated Types§
Required Methods§
fn single_info() -> Self::Info
fn check_directoin(parent: &Self::Info, child: &Self::Info) -> bool
fn unite(parent: &Self::Info, child: &Self::Info) -> Self::Info
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.