Struct lyon_path::ControlPointId
source · pub struct ControlPointId(pub u32);
Expand description
ID of a control point in a path.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
source§impl Clone for ControlPointId
impl Clone for ControlPointId
source§fn clone(&self) -> ControlPointId
fn clone(&self) -> ControlPointId
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 Debug for ControlPointId
impl Debug for ControlPointId
source§impl Hash for ControlPointId
impl Hash for ControlPointId
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 Index<ControlPointId> for Path
impl Index<ControlPointId> for Path
source§impl<'l> Index<ControlPointId> for PathSlice<'l>
impl<'l> Index<ControlPointId> for PathSlice<'l>
source§impl PartialEq for ControlPointId
impl PartialEq for ControlPointId
impl Copy for ControlPointId
impl Eq for ControlPointId
impl StructuralPartialEq for ControlPointId
Auto Trait Implementations§
impl Freeze for ControlPointId
impl RefUnwindSafe for ControlPointId
impl Send for ControlPointId
impl Sync for ControlPointId
impl Unpin for ControlPointId
impl UnwindSafe for ControlPointId
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
)