Enum fbxcel_dom::v7400::data::mesh::IntoCpiWithPolyVerts
source · #[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 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 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.