Struct lyon_path::Path
[−]
[src]
pub struct Path { /* fields omitted */ }
A simple path data structure.
It can be created using a Builder, and can be iterated over.
Methods
impl Path
[src]
fn builder() -> Builder
Creates a Builder to create a path.
fn new() -> Path
fn with_capacity(cap: usize) -> Path
fn as_slice(&self) -> PathSlice
fn iter(&self) -> PathIter
fn path_iter(&self) -> PathStateIter<PathIter>
fn points(&self) -> &[Point]
fn mut_points(&mut self) -> &mut [Point]
fn verbs(&self) -> &[Verb]
Trait Implementations
impl Clone for Path
[src]
fn clone(&self) -> Path
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more