pub enum SweptFace {
StartCap,
EndCap,
Side(u32),
}Expand description
Which side of a swept profile a face came from.
The cap variants carry no index because a sweep has exactly one of each, while side walls are per profile edge and need to say which.
Variants§
StartCap
The face closing the sweep at its start.
EndCap
The face closing the sweep at its end.
Side(u32)
The wall swept from one profile edge, indexed in profile order.
Trait Implementations§
Source§impl Ord for SweptFace
impl Ord for SweptFace
Source§impl PartialOrd for SweptFace
impl PartialOrd for SweptFace
impl Copy for SweptFace
impl Eq for SweptFace
impl StructuralPartialEq for SweptFace
Auto Trait Implementations§
impl Freeze for SweptFace
impl RefUnwindSafe for SweptFace
impl Send for SweptFace
impl Sync for SweptFace
impl Unpin for SweptFace
impl UnwindSafe for SweptFace
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