pub struct VcgenSmoothPoly1 { /* private fields */ }Expand description
Port of C++ vcgen_smooth_poly1.
Implementations§
Source§impl VcgenSmoothPoly1
impl VcgenSmoothPoly1
pub fn new() -> Self
pub fn set_smooth_value(&mut self, v: f64)
pub fn smooth_value(&self) -> f64
pub fn remove_all(&mut self)
pub fn add_vertex(&mut self, x: f64, y: f64, cmd: u32)
pub fn rewind(&mut self, _path_id: u32)
pub fn vertex(&mut self, x: &mut f64, y: &mut f64) -> u32
Trait Implementations§
Source§impl Default for VcgenSmoothPoly1
impl Default for VcgenSmoothPoly1
Auto Trait Implementations§
impl Freeze for VcgenSmoothPoly1
impl RefUnwindSafe for VcgenSmoothPoly1
impl Send for VcgenSmoothPoly1
impl Sync for VcgenSmoothPoly1
impl Unpin for VcgenSmoothPoly1
impl UnwindSafe for VcgenSmoothPoly1
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