pub struct CurveFitSample {
pub p: Point,
pub tangent: Vec2,
}
Expand description
A sample point of a curve for fitting.
Fields§
§p: Point
A point on the curve at the sample location.
tangent: Vec2
A vector tangent to the curve at the sample location.
Auto Trait Implementations§
impl Freeze for CurveFitSample
impl RefUnwindSafe for CurveFitSample
impl Send for CurveFitSample
impl Sync for CurveFitSample
impl Unpin for CurveFitSample
impl UnwindSafe for CurveFitSample
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