pub struct ControlPointIndex(/* private fields */);Expand description
Control point index (in other words, polygon vertex).
Implementations§
Trait Implementations§
Source§impl Clone for ControlPointIndex
impl Clone for ControlPointIndex
Source§fn clone(&self) -> ControlPointIndex
fn clone(&self) -> ControlPointIndex
Returns a duplicate 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 ControlPointIndex
impl Debug for ControlPointIndex
Source§impl From<&ControlPointIndex> for IntoCpiWithPolyVerts
impl From<&ControlPointIndex> for IntoCpiWithPolyVerts
Source§fn from(i: &ControlPointIndex) -> Self
fn from(i: &ControlPointIndex) -> Self
Converts to this type from the input type.
Source§impl From<&ControlPointIndex> for IntoCpiWithTriVerts
impl From<&ControlPointIndex> for IntoCpiWithTriVerts
Source§fn from(i: &ControlPointIndex) -> Self
fn from(i: &ControlPointIndex) -> Self
Converts to this type from the input type.
Source§impl From<&PolygonVertex> for ControlPointIndex
impl From<&PolygonVertex> for ControlPointIndex
Source§fn from(pv: &PolygonVertex) -> Self
fn from(pv: &PolygonVertex) -> Self
Converts to this type from the input type.
Source§impl From<ControlPointIndex> for IntoCpiWithPolyVerts
impl From<ControlPointIndex> for IntoCpiWithPolyVerts
Source§fn from(i: ControlPointIndex) -> Self
fn from(i: ControlPointIndex) -> Self
Converts to this type from the input type.
Source§impl From<ControlPointIndex> for IntoCpiWithTriVerts
impl From<ControlPointIndex> for IntoCpiWithTriVerts
Source§fn from(i: ControlPointIndex) -> Self
fn from(i: ControlPointIndex) -> Self
Converts to this type from the input type.
Source§impl From<PolygonVertex> for ControlPointIndex
impl From<PolygonVertex> for ControlPointIndex
Source§fn from(pv: PolygonVertex) -> Self
fn from(pv: PolygonVertex) -> Self
Converts to this type from the input type.
Source§impl Hash for ControlPointIndex
impl Hash for ControlPointIndex
Source§impl Ord for ControlPointIndex
impl Ord for ControlPointIndex
Source§fn cmp(&self, other: &ControlPointIndex) -> Ordering
fn cmp(&self, other: &ControlPointIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ControlPointIndex
impl PartialEq for ControlPointIndex
Source§impl PartialOrd for ControlPointIndex
impl PartialOrd for ControlPointIndex
impl Copy for ControlPointIndex
impl Eq for ControlPointIndex
impl StructuralPartialEq for ControlPointIndex
Auto Trait Implementations§
impl Freeze for ControlPointIndex
impl RefUnwindSafe for ControlPointIndex
impl Send for ControlPointIndex
impl Sync for ControlPointIndex
impl Unpin for ControlPointIndex
impl UnwindSafe for ControlPointIndex
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