pub enum FaceClassification {
Inside,
Outside,
OnSameNormal,
OnOppositeNormal,
}Expand description
Where one solid’s face sits relative to the other solid.
Variants§
Inside
Strictly inside the other solid.
Outside
Strictly outside it.
OnSameNormal
On its boundary, with the two surfaces’ normals pointing the same way — the two solids touch and lie on the same side of the shared patch.
OnOppositeNormal
On its boundary, with the normals opposed — the solids meet along the patch from opposite sides.
Trait Implementations§
Source§impl Clone for FaceClassification
impl Clone for FaceClassification
Source§fn clone(&self) -> FaceClassification
fn clone(&self) -> FaceClassification
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 FaceClassification
Source§impl Debug for FaceClassification
impl Debug for FaceClassification
impl Eq for FaceClassification
Source§impl PartialEq for FaceClassification
impl PartialEq for FaceClassification
Source§fn eq(&self, other: &FaceClassification) -> bool
fn eq(&self, other: &FaceClassification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FaceClassification
Auto Trait Implementations§
impl Freeze for FaceClassification
impl RefUnwindSafe for FaceClassification
impl Send for FaceClassification
impl Sync for FaceClassification
impl Unpin for FaceClassification
impl UnsafeUnpin for FaceClassification
impl UnwindSafe for FaceClassification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more