pub struct ProfilePiece<S: Scalar> {
pub curve: NurbCurve2D<S>,
pub source: CurveId,
pub index: usize,
pub start: ProfileJoint,
pub end: ProfileJoint,
}Expand description
One NURBS piece of a profile loop, 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 loop’s
direction.
Fields§
§curve: NurbCurve2D<S>§source: CurveId§index: usize§start: ProfileJoint§end: ProfileJointImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for ProfilePiece<S>where
S: Freeze,
impl<S> RefUnwindSafe for ProfilePiece<S>where
S: RefUnwindSafe,
impl<S> Send for ProfilePiece<S>
impl<S> Sync for ProfilePiece<S>
impl<S> Unpin for ProfilePiece<S>where
S: Unpin,
impl<S> UnsafeUnpin for ProfilePiece<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ProfilePiece<S>where
S: 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