[−][src]Struct lyon_path::commands::CommandsPathSlice
A view on a PathCommands
buffer and
two slices for endpoints and control points, providing similar
functionalities as PathSlice
.
Methods
impl<'l, Endpoint, ControlPoint> CommandsPathSlice<'l, Endpoint, ControlPoint>
[src]
ⓘImportant traits for IdEvents<'l>pub fn id_events(&self) -> IdEvents
[src]
ⓘImportant traits for IdEvents<'l>
Returns an iterator over the events of the path using IDs.
ⓘImportant traits for Events<'l, Endpoint, ControlPoint>pub fn events(&self) -> Events<Endpoint, ControlPoint>
[src]
ⓘImportant traits for Events<'l, Endpoint, ControlPoint>
Returns an iterator over the events of the path using endpoint and control point references.
Trait Implementations
impl<'l, Endpoint: Clone, ControlPoint: Clone> Clone for CommandsPathSlice<'l, Endpoint, ControlPoint>
[src]
fn clone(&self) -> CommandsPathSlice<'l, Endpoint, ControlPoint>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'l, Endpoint: Copy, ControlPoint: Copy> Copy for CommandsPathSlice<'l, Endpoint, ControlPoint>
[src]
impl<'l, Endpoint, ControlPoint> Debug for CommandsPathSlice<'l, Endpoint, ControlPoint> where
Endpoint: Debug,
ControlPoint: Debug,
[src]
Endpoint: Debug,
ControlPoint: Debug,
impl<'l, Endpoint, ControlPoint> Index<ControlPointId> for CommandsPathSlice<'l, Endpoint, ControlPoint>
[src]
type Output = ControlPoint
The returned type after indexing.
fn index(&self, id: ControlPointId) -> &ControlPoint
[src]
impl<'l, Endpoint, ControlPoint> Index<EndpointId> for CommandsPathSlice<'l, Endpoint, ControlPoint>
[src]
type Output = Endpoint
The returned type after indexing.
fn index(&self, id: EndpointId) -> &Endpoint
[src]
impl<'l, Endpoint, ControlPoint> PositionStore for CommandsPathSlice<'l, Endpoint, ControlPoint> where
Endpoint: Position,
ControlPoint: Position,
[src]
Endpoint: Position,
ControlPoint: Position,
fn get_endpoint(&self, id: EndpointId) -> Point
[src]
fn get_control_point(&self, id: ControlPointId) -> Point
[src]
Auto Trait Implementations
impl<'l, Endpoint, ControlPoint> RefUnwindSafe for CommandsPathSlice<'l, Endpoint, ControlPoint> where
ControlPoint: RefUnwindSafe,
Endpoint: RefUnwindSafe,
ControlPoint: RefUnwindSafe,
Endpoint: RefUnwindSafe,
impl<'l, Endpoint, ControlPoint> Send for CommandsPathSlice<'l, Endpoint, ControlPoint> where
ControlPoint: Sync,
Endpoint: Sync,
ControlPoint: Sync,
Endpoint: Sync,
impl<'l, Endpoint, ControlPoint> Sync for CommandsPathSlice<'l, Endpoint, ControlPoint> where
ControlPoint: Sync,
Endpoint: Sync,
ControlPoint: Sync,
Endpoint: Sync,
impl<'l, Endpoint, ControlPoint> Unpin for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> UnwindSafe for CommandsPathSlice<'l, Endpoint, ControlPoint> where
ControlPoint: RefUnwindSafe,
Endpoint: RefUnwindSafe,
ControlPoint: RefUnwindSafe,
Endpoint: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,