pub enum ClipTraversal {
PreviousToCurrent,
CurrentToNext,
}Expand description
Cyclic traversal order for one clip plane.
The two variants retain the same convex region but choose a different first output vertex. That affects triangle-fan diagonals and is therefore preserved explicitly during equivalence work.
Variants§
PreviousToCurrent
Visit previous-to-current, writing a crossing before the current point.
CurrentToNext
Visit current-to-next, writing the current point before a crossing.
Trait Implementations§
Source§impl Clone for ClipTraversal
impl Clone for ClipTraversal
Source§fn clone(&self) -> ClipTraversal
fn clone(&self) -> ClipTraversal
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClipTraversal
impl Debug for ClipTraversal
Source§impl PartialEq for ClipTraversal
impl PartialEq for ClipTraversal
impl Copy for ClipTraversal
impl Eq for ClipTraversal
impl StructuralPartialEq for ClipTraversal
Auto Trait Implementations§
impl Freeze for ClipTraversal
impl RefUnwindSafe for ClipTraversal
impl Send for ClipTraversal
impl Sync for ClipTraversal
impl Unpin for ClipTraversal
impl UnsafeUnpin for ClipTraversal
impl UnwindSafe for ClipTraversal
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)