# Struct solstice_2d::Polyhedron [−][src]

pub struct Polyhedron { pub vertices: Vec<Point3D>, pub indices: Vec<u32>, pub radius: f32, pub detail: u32, }

## Fields

`vertices: Vec<Point3D>`

`indices: Vec<u32>`

`radius: f32`

`detail: u32`

## Implementations

`impl Polyhedron`

[src]

`impl Polyhedron`

[src]`pub fn tetrahedron(radius: f32, detail: u32) -> Self`

[src]

`pub fn octahedron(radius: f32, detail: u32) -> Self`

[src]

`pub fn icosahedron(radius: f32, detail: u32) -> Self`

[src]

`pub fn dodecahedron(radius: f32, detail: u32) -> Self`

[src]

## Trait Implementations

`impl Clone for Polyhedron`

[src]

`impl Clone for Polyhedron`

[src]`fn clone(&self) -> Polyhedron`

[src]

`pub fn clone_from(&mut self, source: &Self)`

1.0.0[src]

`impl From<&'_ Polyhedron> for Geometry<'_, Vertex3D>`

[src]

`impl From<&'_ Polyhedron> for Geometry<'_, Vertex3D>`

[src]`fn from(p: &Polyhedron) -> Self`

[src]

`impl From<Polyhedron> for Geometry<'_, Vertex3D>`

[src]

`impl From<Polyhedron> for Geometry<'_, Vertex3D>`

[src]`fn from(p: Polyhedron) -> Self`

[src]

`impl PartialEq<Polyhedron> for Polyhedron`

[src]

`impl PartialEq<Polyhedron> for Polyhedron`

[src]`fn eq(&self, other: &Polyhedron) -> bool`

[src]

`fn ne(&self, other: &Polyhedron) -> bool`

[src]

`impl PartialOrd<Polyhedron> for Polyhedron`

[src]

`impl PartialOrd<Polyhedron> for Polyhedron`

[src]`impl StructuralPartialEq for Polyhedron`

[src]

`impl StructuralPartialEq for Polyhedron`

[src]## Auto Trait Implementations

`impl RefUnwindSafe for Polyhedron`

`impl RefUnwindSafe for Polyhedron`

`impl Send for Polyhedron`

`impl Send for Polyhedron`

`impl Sync for Polyhedron`

`impl Sync for Polyhedron`

`impl Unpin for Polyhedron`

`impl Unpin for Polyhedron`

`impl UnwindSafe for Polyhedron`

`impl UnwindSafe for Polyhedron`

## Blanket Implementations

`impl<'a, V, T> GeometryKind<'a, V> for T where`

T: PartialEq<T> + Into<MeshVariant<'a, V>>,

V: Vertex,

[src]

`impl<'a, V, T> GeometryKind<'a, V> for T where`

T: PartialEq<T> + Into<MeshVariant<'a, V>>,

V: Vertex,

[src]`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>,