pub struct Path64(/* private fields */);Implementations§
Source§impl Path64
impl Path64
pub fn new(points: &Vec<Point64>) -> Self
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn get_point(&self, index: usize) -> Point64
pub fn add_point(&mut self, point: Point64)
pub fn translate(&self, dx: i64, dy: i64) -> Self
pub fn scale(&self, sx: f64, sy: f64) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Path64
impl RefUnwindSafe for Path64
impl Send for Path64
impl Sync for Path64
impl Unpin for Path64
impl UnwindSafe for Path64
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