pub struct CutOptions {
pub plane: Plane,
pub cap: bool,
}Expand description
What to cut: a world plane and whether to cap.
Fields§
§plane: PlaneThe cutting plane, in world coordinates. The + side
(signed_distance >= 0) stays on the original mesh.
cap: boolClose both openings with flat, unfaired patches, across UV seams on a mesh with UVs. Without it both parts keep the open rim the cut leaves.
Trait Implementations§
Source§impl Clone for CutOptions
impl Clone for CutOptions
Source§fn clone(&self) -> CutOptions
fn clone(&self) -> CutOptions
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 CutOptions
Source§impl Debug for CutOptions
impl Debug for CutOptions
Source§impl PartialEq for CutOptions
impl PartialEq for CutOptions
impl StructuralPartialEq for CutOptions
Auto Trait Implementations§
impl Freeze for CutOptions
impl RefUnwindSafe for CutOptions
impl Send for CutOptions
impl Sync for CutOptions
impl Unpin for CutOptions
impl UnsafeUnpin for CutOptions
impl UnwindSafe for CutOptions
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