pub trait Hyperedge:
Eq
+ Hash
+ Clone
+ IdVector {
// Required method
fn id_set(&self) -> HashSet<usize>;
// Provided methods
fn is_subset(&self, other: &Self) -> bool { ... }
fn is_equal(&self, other: &Self) -> bool { ... }
fn has_intersection(&self, other: &Self) -> bool { ... }
fn is_disjoint(&self, other: &Self) -> bool { ... }
fn is_empty(&self) -> bool { ... }
fn is_singleton(&self) -> bool { ... }
}
Required Methods§
Provided Methods§
fn is_subset(&self, other: &Self) -> bool
fn is_equal(&self, other: &Self) -> bool
fn has_intersection(&self, other: &Self) -> bool
fn is_disjoint(&self, other: &Self) -> bool
fn is_empty(&self) -> bool
fn is_singleton(&self) -> bool
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.