pub trait Connectivity:
Sized
+ PartialEq
+ Eq
+ Clone
+ Hash {
// Required method
fn connected_layers(&self) -> Vec<Self>;
// Provided methods
fn connected(&self, other: &Self) -> bool { ... }
fn connected_components(
cell: &Cell<Self>,
lib: &Library<Self>,
) -> Vec<HashSet<Shape<Self>>>
where Self: Clone { ... }
}
Required Methods§
fn connected_layers(&self) -> Vec<Self>
Provided 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.