[][src]Struct hexasphere::SquareBase

pub struct SquareBase;

Implements a square as the base shape.

  • 4 vertices
  • 2 faces
  • 5 edges

This is a square on the XZ plane. The circumscribed circle on the square has radius 1.0. This is done to preserve the accuracy of the subdivisions at higher levels of subdivision.

Trait Implementations

impl BaseShape for SquareBase[src]

impl Clone for SquareBase[src]

impl Copy for SquareBase[src]

impl Debug for SquareBase[src]

impl Default for SquareBase[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.