[go: up one dir, main page]

Struct lyon_core::path::PathSlice [] [src]

pub struct PathSlice<'l> {
    // some fields omitted
}

Methods

impl<'l> PathSlice<'l>
[src]

fn vertices(&self) -> VertexSlice<PointData>

fn vertex_ids(&self, sub_path: PathId) -> PathVertexIdRange

fn num_vertices(&self) -> usize

fn num_sub_paths(&self) -> usize

fn sub_path(&self, id: PathId) -> SubPathSlice

fn path_ids(&self) -> PathIdRange

fn vertex(&self, id: PathVertexId) -> &PointData

fn next(&self, id: PathVertexId) -> PathVertexId

fn previous(&self, id: PathVertexId) -> PathVertexId

Trait Implementations

impl<'l> Clone for PathSlice<'l>
[src]

fn clone(&self) -> PathSlice<'l>

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

impl<'l> Copy for PathSlice<'l>
[src]