pub struct Piece<C> {
pub curve: C,
pub source: CurveId,
pub index: usize,
pub start: ProfileJoint,
pub end: ProfileJoint,
}Expand description
One NURBS piece curve of a chain of a sketch’s curves — a profile
loop, or a 3-D sketch’s path — and where it comes from in the sketch:
piece index of sketch curve source (counted in the curve’s own
direction), running from joint start to joint end in the chain’s
direction.
Fields§
§curve: C§source: CurveId§index: usize§start: ProfileJoint§end: ProfileJointImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for Piece<C>where
C: Freeze,
impl<C> RefUnwindSafe for Piece<C>where
C: RefUnwindSafe,
impl<C> Send for Piece<C>where
C: Send,
impl<C> Sync for Piece<C>where
C: Sync,
impl<C> Unpin for Piece<C>where
C: Unpin,
impl<C> UnsafeUnpin for Piece<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for Piece<C>where
C: UnwindSafe,
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