Struct solstice_2d::Box[][src]

pub struct Box {
    pub width: f32,
    pub height: f32,
    pub depth: f32,
    pub width_segments: u32,
    pub height_segments: u32,
    pub depth_segments: u32,
}

Fields

width: f32height: f32depth: f32width_segments: u32height_segments: u32depth_segments: u32

Implementations

impl Box[src]

pub fn new(
    width: f32,
    height: f32,
    depth: f32,
    width_segments: u32,
    height_segments: u32,
    depth_segments: u32
) -> Self
[src]

Trait Implementations

impl Clone for Box[src]

impl Copy for Box[src]

impl Debug for Box[src]

impl Default for Box[src]

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

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

impl PartialEq<Box> for Box[src]

impl StructuralPartialEq for Box[src]

Auto Trait Implementations

impl RefUnwindSafe for Box

impl Send for Box

impl Sync for Box

impl Unpin for Box

impl UnwindSafe for Box

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<'a, V, T> GeometryKind<'a, V> for T where
    T: PartialEq<T> + Into<MeshVariant<'a, V>>,
    V: Vertex
[src]

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

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<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.

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