pub struct CommandsPathSlice<'l, Endpoint, ControlPoint> { /* private fields */ }
Expand description
A view on a PathCommands
buffer and
two slices for endpoints and control points, providing similar
functionalities as PathSlice
.
Implementations§
source§impl<'l, Endpoint, ControlPoint> CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> CommandsPathSlice<'l, Endpoint, ControlPoint>
Trait Implementations§
source§impl<'l, Endpoint: Clone, ControlPoint: Clone> Clone for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint: Clone, ControlPoint: Clone> Clone for CommandsPathSlice<'l, Endpoint, ControlPoint>
source§fn clone(&self) -> CommandsPathSlice<'l, Endpoint, ControlPoint>
fn clone(&self) -> CommandsPathSlice<'l, Endpoint, ControlPoint>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'l, Endpoint, ControlPoint> Debug for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> Debug for CommandsPathSlice<'l, Endpoint, ControlPoint>
source§impl<'l, Endpoint, ControlPoint> Index<ControlPointId> for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> Index<ControlPointId> for CommandsPathSlice<'l, Endpoint, ControlPoint>
source§fn index(&self, id: ControlPointId) -> &ControlPoint
fn index(&self, id: ControlPointId) -> &ControlPoint
Performs the indexing (
container[index]
) operation. Read moresource§impl<'l, Endpoint, ControlPoint> Index<EndpointId> for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> Index<EndpointId> for CommandsPathSlice<'l, Endpoint, ControlPoint>
source§impl<'l, Endpoint, ControlPoint> PositionStore for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> PositionStore for CommandsPathSlice<'l, Endpoint, ControlPoint>
fn get_endpoint(&self, id: EndpointId) -> Point
fn get_control_point(&self, id: ControlPointId) -> Point
impl<'l, Endpoint: Copy, ControlPoint: Copy> Copy for CommandsPathSlice<'l, Endpoint, ControlPoint>
Auto Trait Implementations§
impl<'l, Endpoint, ControlPoint> Freeze for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> RefUnwindSafe for CommandsPathSlice<'l, Endpoint, ControlPoint>where
Endpoint: RefUnwindSafe,
ControlPoint: RefUnwindSafe,
impl<'l, Endpoint, ControlPoint> Send for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> Sync for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> Unpin for CommandsPathSlice<'l, Endpoint, ControlPoint>
impl<'l, Endpoint, ControlPoint> UnwindSafe for CommandsPathSlice<'l, Endpoint, ControlPoint>where
Endpoint: RefUnwindSafe,
ControlPoint: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)