#[non_exhaustive]pub enum IntoCpiWithTriVerts {
ControlPointIndex(ControlPointIndex),
IntoPolygonVertex(IntoPvWithTriVerts),
}Expand description
A type to contain a value convertible into control point index.
This is used for TriangleVertices::control_point_index and
TriangleVertices::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.
IntoPolygonVertex(IntoPvWithTriVerts)
A value which is convertible into polygon vertex.
Trait Implementations§
Source§impl Clone for IntoCpiWithTriVerts
impl Clone for IntoCpiWithTriVerts
Source§fn clone(&self) -> IntoCpiWithTriVerts
fn clone(&self) -> IntoCpiWithTriVerts
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 IntoCpiWithTriVerts
impl Debug for IntoCpiWithTriVerts
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<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<T: Into<IntoPvWithTriVerts>> From<T> for IntoCpiWithTriVerts
impl<T: Into<IntoPvWithTriVerts>> From<T> for IntoCpiWithTriVerts
impl Copy for IntoCpiWithTriVerts
Auto Trait Implementations§
impl Freeze for IntoCpiWithTriVerts
impl RefUnwindSafe for IntoCpiWithTriVerts
impl Send for IntoCpiWithTriVerts
impl Sync for IntoCpiWithTriVerts
impl Unpin for IntoCpiWithTriVerts
impl UnwindSafe for IntoCpiWithTriVerts
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