pub struct Curve {
pub p: [Point<f32>; 3],
}
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§
source§impl PartialEq for Curve
impl PartialEq for Curve
source§impl PartialOrd for Curve
impl PartialOrd for Curve
1.0.0 · source§fn 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§
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