Struct scad_tree::dim2::CubicBezier2D
source · pub struct CubicBezier2D {
pub start: Pt2,
pub control1: Pt2,
pub control2: Pt2,
pub end: Pt2,
pub segments: u64,
}Expand description
A 2D cubic bezier curve.
Fields§
§start: Pt2§control1: Pt2§control2: Pt2§end: Pt2§segments: u64Implementations§
Trait Implementations§
source§impl Clone for CubicBezier2D
impl Clone for CubicBezier2D
source§fn clone(&self) -> CubicBezier2D
fn clone(&self) -> CubicBezier2D
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 moreimpl Copy for CubicBezier2D
Auto Trait Implementations§
impl RefUnwindSafe for CubicBezier2D
impl Send for CubicBezier2D
impl Sync for CubicBezier2D
impl Unpin for CubicBezier2D
impl UnwindSafe for CubicBezier2D
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