pub enum Dimension {
Empty,
Point,
Curve,
Area,
}Expand description
The dimension of an intersection cell in a De9im matrix.
Mirrors the per-cell value of Boost’s relate matrix: F (empty) or
a dimension digit 0 / 1 / 2 (detail/relate/result.hpp).
Variants§
Empty
Empty intersection — Boost’s F.
Point
Point (0-dimensional) intersection — Boost’s 0.
Curve
Curve (1-dimensional) intersection — Boost’s 1.
Area
Area (2-dimensional) intersection — Boost’s 2.
Implementations§
Trait Implementations§
impl Copy for Dimension
impl Eq for Dimension
impl StructuralPartialEq for Dimension
Auto Trait Implementations§
impl Freeze for Dimension
impl RefUnwindSafe for Dimension
impl Send for Dimension
impl Sync for Dimension
impl Unpin for Dimension
impl UnsafeUnpin for Dimension
impl UnwindSafe for Dimension
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more