pub struct CurveJet<P, D> {
pub point: P,
pub first: D,
pub second: D,
}Expand description
Position and the first two parameter derivatives of a curve.
Keeping the derivatives with the point prevents callers from accidentally mixing results evaluated at different parameters. All derivatives use the curve’s native parameter, not arc length.
Fields§
§point: PPosition at the requested parameter.
first: DFirst derivative with respect to the native parameter.
second: DSecond derivative with respect to the native parameter.
Trait Implementations§
impl<P: Copy, D: Copy> Copy for CurveJet<P, D>
impl<P, D> StructuralPartialEq for CurveJet<P, D>
Auto Trait Implementations§
impl<P, D> Freeze for CurveJet<P, D>
impl<P, D> RefUnwindSafe for CurveJet<P, D>where
P: RefUnwindSafe,
D: RefUnwindSafe,
impl<P, D> Send for CurveJet<P, D>
impl<P, D> Sync for CurveJet<P, D>
impl<P, D> Unpin for CurveJet<P, D>
impl<P, D> UnwindSafe for CurveJet<P, D>where
P: UnwindSafe,
D: 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