Enum bezier_rs::BezierHandles
source · pub enum BezierHandles {
Linear,
Quadratic {
handle: DVec2,
},
Cubic {
handle_start: DVec2,
handle_end: DVec2,
},
}
Expand description
Representation of the handle point(s) in a bezier segment.
Variants§
Trait Implementations§
source§impl Clone for BezierHandles
impl Clone for BezierHandles
source§fn clone(&self) -> BezierHandles
fn clone(&self) -> BezierHandles
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for BezierHandles
impl PartialEq for BezierHandles
source§fn eq(&self, other: &BezierHandles) -> bool
fn eq(&self, other: &BezierHandles) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BezierHandles
impl StructuralPartialEq for BezierHandles
Auto Trait Implementations§
impl RefUnwindSafe for BezierHandles
impl Send for BezierHandles
impl Sync for BezierHandles
impl Unpin for BezierHandles
impl UnwindSafe for BezierHandles
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