pub struct PathStorage {
pub vertices: Vec<Vertex<f64>>,
}
Fields§
§vertices: Vec<Vertex<f64>>
Implementations§
Source§impl PathStorage
impl PathStorage
pub fn new() -> Self
pub fn remove_all(&mut self)
pub fn move_to(&mut self, x: f64, y: f64)
pub fn line_to(&mut self, x: f64, y: f64)
pub fn close_polygon(&mut self)
pub fn arrange_orientations(&mut self, dir: PathOrientation)
Trait Implementations§
Source§impl Debug for PathStorage
impl Debug for PathStorage
Source§impl Default for PathStorage
impl Default for PathStorage
Source§fn default() -> PathStorage
fn default() -> PathStorage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PathStorage
impl RefUnwindSafe for PathStorage
impl Send for PathStorage
impl Sync for PathStorage
impl Unpin for PathStorage
impl UnwindSafe for PathStorage
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