Struct lyon_path::commands::PathCommandsSlice
source · pub struct PathCommandsSlice<'l> { /* private fields */ }
Expand description
A view over PathCommands
.
Implementations§
source§impl<'l> PathCommandsSlice<'l>
impl<'l> PathCommandsSlice<'l>
sourcepub fn next_event_id_in_sub_path(&self, id: EventId) -> EventId
pub fn next_event_id_in_sub_path(&self, id: EventId) -> EventId
Returns the next event id within the path.
sourcepub fn next_event_id_in_path(&self, id: EventId) -> Option<EventId>
pub fn next_event_id_in_path(&self, id: EventId) -> Option<EventId>
Returns the next event id within the path.
Trait Implementations§
source§impl<'l> Clone for PathCommandsSlice<'l>
impl<'l> Clone for PathCommandsSlice<'l>
source§fn clone(&self) -> PathCommandsSlice<'l>
fn clone(&self) -> PathCommandsSlice<'l>
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> Debug for PathCommandsSlice<'l>
impl<'l> Debug for PathCommandsSlice<'l>
source§impl<'l> From<&'l PathCommands> for PathCommandsSlice<'l>
impl<'l> From<&'l PathCommands> for PathCommandsSlice<'l>
source§fn from(commands: &'l PathCommands) -> Self
fn from(commands: &'l PathCommands) -> Self
Converts to this type from the input type.
impl<'l> Copy for PathCommandsSlice<'l>
Auto Trait Implementations§
impl<'l> Freeze for PathCommandsSlice<'l>
impl<'l> RefUnwindSafe for PathCommandsSlice<'l>
impl<'l> Send for PathCommandsSlice<'l>
impl<'l> Sync for PathCommandsSlice<'l>
impl<'l> Unpin for PathCommandsSlice<'l>
impl<'l> UnwindSafe for PathCommandsSlice<'l>
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
)