Struct cavalier_contours_ffi::cavc_vertex
source · #[repr(C)]pub struct cavc_vertex {
pub x: f64,
pub y: f64,
pub bulge: f64,
}
Expand description
Represents a polyline vertex holding x, y, and bulge.
Fields§
§x: f64
§y: f64
§bulge: f64
Implementations§
source§impl cavc_vertex
impl cavc_vertex
pub fn new(x: f64, y: f64, bulge: f64) -> Self
pub fn from_internal(v: PlineVertex<f64>) -> Self
Trait Implementations§
source§impl Clone for cavc_vertex
impl Clone for cavc_vertex
source§fn clone(&self) -> cavc_vertex
fn clone(&self) -> cavc_vertex
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 Debug for cavc_vertex
impl Debug for cavc_vertex
impl Copy for cavc_vertex
Auto Trait Implementations§
impl RefUnwindSafe for cavc_vertex
impl Send for cavc_vertex
impl Sync for cavc_vertex
impl Unpin for cavc_vertex
impl UnwindSafe for cavc_vertex
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