pub enum OffsetDirection {
Outward,
Inward,
}Expand description
Which way an offset moves the boundary.
Variants§
Outward
Grow the solid.
Inward
Shrink the solid. Collapses if the distance exceeds the local half-thickness, which is refused rather than emitted.
Trait Implementations§
Source§impl Clone for OffsetDirection
impl Clone for OffsetDirection
Source§fn clone(&self) -> OffsetDirection
fn clone(&self) -> OffsetDirection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OffsetDirection
impl Debug for OffsetDirection
Source§impl PartialEq for OffsetDirection
impl PartialEq for OffsetDirection
impl Copy for OffsetDirection
impl Eq for OffsetDirection
impl StructuralPartialEq for OffsetDirection
Auto Trait Implementations§
impl Freeze for OffsetDirection
impl RefUnwindSafe for OffsetDirection
impl Send for OffsetDirection
impl Sync for OffsetDirection
impl Unpin for OffsetDirection
impl UnwindSafe for OffsetDirection
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