Enum solstice_2d::MeshVariant [−][src]
pub enum MeshVariant<'a, V> where
V: Vertex + 'a, { Data(Geometry<'a, V>), VertexMesh(Geometry<&'a VertexMesh<V>>), IndexedMesh(Geometry<&'a IndexedMesh<V, u32>>), }
Variants
Data(Geometry<'a, V>)
VertexMesh(Geometry<&'a VertexMesh<V>>)
IndexedMesh(Geometry<&'a IndexedMesh<V, u32>>)
Trait Implementations
impl<'a, V: Clone> Clone for MeshVariant<'a, V> where
V: Vertex + 'a,
[src]
impl<'a, V: Clone> Clone for MeshVariant<'a, V> where
V: Vertex + 'a,
[src]fn clone(&self) -> MeshVariant<'a, V>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, V: Debug> Debug for MeshVariant<'a, V> where
V: Vertex + 'a,
[src]
impl<'a, V: Debug> Debug for MeshVariant<'a, V> where
V: Vertex + 'a,
[src]impl<'a, V> From<Geometry<&'a VertexMesh<V>>> for MeshVariant<'a, V> where
V: Vertex,
[src]
impl<'a, V> From<Geometry<&'a VertexMesh<V>>> for MeshVariant<'a, V> where
V: Vertex,
[src]fn from(v: Geometry<&'a VertexMesh<V>>) -> Self
[src]
Auto Trait Implementations
impl<'a, V> RefUnwindSafe for MeshVariant<'a, V> where
V: RefUnwindSafe,
impl<'a, V> RefUnwindSafe for MeshVariant<'a, V> where
V: RefUnwindSafe,
impl<'a, V> Send for MeshVariant<'a, V> where
V: Send + Sync,
impl<'a, V> Send for MeshVariant<'a, V> where
V: Send + Sync,
impl<'a, V> Sync for MeshVariant<'a, V> where
V: Sync,
impl<'a, V> Sync for MeshVariant<'a, V> where
V: Sync,
impl<'a, V> Unpin for MeshVariant<'a, V> where
V: Unpin,
impl<'a, V> Unpin for MeshVariant<'a, V> where
V: Unpin,
impl<'a, V> UnwindSafe for MeshVariant<'a, V> where
V: RefUnwindSafe + UnwindSafe,
impl<'a, V> UnwindSafe for MeshVariant<'a, V> where
V: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,