pub struct PathsD(/* private fields */);Implementations§
Source§impl PathsD
impl PathsD
pub fn new(paths: &Vec<PathD>) -> Self
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn get_path(&self, index: usize) -> PathD
pub fn add_path(&mut self, path: PathD)
pub fn add_paths(&mut self, paths: Vec<PathD>)
pub fn get_paths(&self) -> Vec<PathD>
pub fn translate(&self, dx: f64, dy: f64) -> Self
pub fn scale(&self, sx: f64, sy: f64) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathsD
impl RefUnwindSafe for PathsD
impl Send for PathsD
impl Sync for PathsD
impl Unpin for PathsD
impl UnwindSafe for PathsD
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