[][src]Struct hexasphere::CubeBase

pub struct CubeBase;

Implements a cube as the base shape.

  • 8 vertices
  • 12 faces (2 triangles per face makes 12 technically)
  • 18 edges

This is a cube where half the diagonal is 1.0. This is done to preserve the accuracy of the subdivisions at higher levels of subdivision.

Trait Implementations

impl BaseShape for CubeBase[src]

impl Clone for CubeBase[src]

impl Copy for CubeBase[src]

impl Debug for CubeBase[src]

impl Default for CubeBase[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.