Struct solstice_2d::Polyhedron[][src]

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


vertices: Vec<Point3D>indices: Vec<u32>radius: f32detail: u32


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 Debug for Polyhedron[src]

impl From<&'_ Polyhedron> for Geometry<'_, Vertex3D>[src]

impl From<Polyhedron> for Geometry<'_, Vertex3D>[src]

impl PartialEq<Polyhedron> for Polyhedron[src]

impl PartialOrd<Polyhedron> for Polyhedron[src]

impl StructuralPartialEq for Polyhedron[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<'a, V, T> GeometryKind<'a, V> for T where
    T: PartialEq<T> + Into<MeshVariant<'a, V>>,
    V: Vertex

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

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<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,