#[non_exhaustive]pub enum InPlaneSide {
Below,
Above,
Both,
}Expand description
The side of the cutting plane a face’s material lies on.
Declaration order is the sort order.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Below
The face normal agrees with the frame’s +z, so the material (for a
sheet, the back of the face) lies on the frame’s -z side.
Above
The face normal opposes the frame’s +z; the material lies on +z.
Both
Faces of both facings coincide: the plane has material on both sides
here. With cut regions requested, every Both region is a cut region
(see CutRegion).
Trait Implementations§
Source§impl Clone for InPlaneSide
impl Clone for InPlaneSide
Source§fn clone(&self) -> InPlaneSide
fn clone(&self) -> InPlaneSide
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InPlaneSide
Source§impl Debug for InPlaneSide
impl Debug for InPlaneSide
impl Eq for InPlaneSide
Source§impl Hash for InPlaneSide
impl Hash for InPlaneSide
Source§impl Ord for InPlaneSide
impl Ord for InPlaneSide
Source§fn cmp(&self, other: &InPlaneSide) -> Ordering
fn cmp(&self, other: &InPlaneSide) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InPlaneSide
impl PartialEq for InPlaneSide
Source§impl PartialOrd for InPlaneSide
impl PartialOrd for InPlaneSide
impl StructuralPartialEq for InPlaneSide
Auto Trait Implementations§
impl Freeze for InPlaneSide
impl RefUnwindSafe for InPlaneSide
impl Send for InPlaneSide
impl Sync for InPlaneSide
impl Unpin for InPlaneSide
impl UnsafeUnpin for InPlaneSide
impl UnwindSafe for InPlaneSide
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