pub trait Plane: Sized + Clone {
// Required methods
fn cut(&self, _: Self) -> PlaneCut<Self>;
fn is_aligned(&self, _: &Self) -> bool;
}
Expand description
A plane abstracted to the matter of partitioning.
Required Methods§
Sourcefn is_aligned(&self, _: &Self) -> bool
fn is_aligned(&self, _: &Self) -> bool
Check if a different plane is aligned in the same direction as this one.
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.