[][src]Struct weldr::LineCmd

pub struct LineCmd {
    pub color: u32,
    pub vertices: [Vec3; 2],
}

Line Type 2 LDraw command: Draw a segment between 2 vertices.

Fields

color: u32

Color code of the primitive.

vertices: [Vec3; 2]

Vertices of the segment.

Trait Implementations

impl Debug for LineCmd[src]

impl PartialEq<LineCmd> for LineCmd[src]

impl StructuralPartialEq for LineCmd[src]

Auto Trait Implementations

impl RefUnwindSafe for LineCmd

impl Send for LineCmd

impl Sync for LineCmd

impl Unpin for LineCmd

impl UnwindSafe for LineCmd

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.