[][src]Struct weldr::QuadCmd

pub struct QuadCmd {
    pub color: u32,
    pub vertices: [Vec3; 4],
}

Line Type 4 LDraw command: Draw a quad between 4 vertices.

Fields

color: u32

Color code of the primitive.

vertices: [Vec3; 4]

Vertices of the quad. In theory they are guaranteed to be coplanar according to the LDraw specification, although no attempt is made to validate this property.

Trait Implementations

impl Debug for QuadCmd[src]

impl PartialEq<QuadCmd> for QuadCmd[src]

impl StructuralPartialEq for QuadCmd[src]

Auto Trait Implementations

impl RefUnwindSafe for QuadCmd

impl Send for QuadCmd

impl Sync for QuadCmd

impl Unpin for QuadCmd

impl UnwindSafe for QuadCmd

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, 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.