Expand description
A quadratic Bezier curve, starting at p[0]
, ending at p[2]
, with control
point p[1]
.
Fields
p: [Point<f32>; 3]
Trait Implementations
sourceimpl PartialOrd<Curve> for Curve
impl PartialOrd<Curve> for Curve
sourcefn partial_cmp(&self, other: &Curve) -> Option<Ordering>
fn partial_cmp(&self, other: &Curve) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Curve
impl StructuralPartialEq for Curve
Auto Trait Implementations
impl RefUnwindSafe for Curve
impl Send for Curve
impl Sync for Curve
impl Unpin for Curve
impl UnwindSafe for Curve
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more