#[non_exhaustive]pub enum IntoCpiWithPolyVerts {
ControlPointIndex(ControlPointIndex),
PolygonVertex(PolygonVertex),
PolygonVertexIndex(PolygonVertexIndex),
}Expand description
A type to contain a value convertible into control point index.
This is used for PolygonVertices::control_point, but not intended to be
used directly by users.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ControlPointIndex(ControlPointIndex)
Control point index.
PolygonVertex(PolygonVertex)
Polygon vertex.
PolygonVertexIndex(PolygonVertexIndex)
Polygon vertex index.
Trait Implementations§
Source§impl Clone for IntoCpiWithPolyVerts
impl Clone for IntoCpiWithPolyVerts
Source§fn clone(&self) -> IntoCpiWithPolyVerts
fn clone(&self) -> IntoCpiWithPolyVerts
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 IntoCpiWithPolyVerts
impl Debug for IntoCpiWithPolyVerts
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<&PolygonVertex> for IntoCpiWithPolyVerts
impl From<&PolygonVertex> for IntoCpiWithPolyVerts
Source§fn from(i: &PolygonVertex) -> Self
fn from(i: &PolygonVertex) -> Self
Converts to this type from the input type.
Source§impl From<&PolygonVertexIndex> for IntoCpiWithPolyVerts
impl From<&PolygonVertexIndex> for IntoCpiWithPolyVerts
Source§fn from(i: &PolygonVertexIndex) -> Self
fn from(i: &PolygonVertexIndex) -> 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<PolygonVertex> for IntoCpiWithPolyVerts
impl From<PolygonVertex> for IntoCpiWithPolyVerts
Source§fn from(i: PolygonVertex) -> Self
fn from(i: PolygonVertex) -> Self
Converts to this type from the input type.
Source§impl From<PolygonVertexIndex> for IntoCpiWithPolyVerts
impl From<PolygonVertexIndex> for IntoCpiWithPolyVerts
Source§fn from(i: PolygonVertexIndex) -> Self
fn from(i: PolygonVertexIndex) -> Self
Converts to this type from the input type.
impl Copy for IntoCpiWithPolyVerts
Auto Trait Implementations§
impl Freeze for IntoCpiWithPolyVerts
impl RefUnwindSafe for IntoCpiWithPolyVerts
impl Send for IntoCpiWithPolyVerts
impl Sync for IntoCpiWithPolyVerts
impl Unpin for IntoCpiWithPolyVerts
impl UnwindSafe for IntoCpiWithPolyVerts
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