[][src]Struct weldr::OptLineCmd

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

Line Type 5 LDraw command: Draw an optional segment between two vertices, aided by 2 control points.

Fields

color: u32

Color code of the primitive.

vertices: [Vec3; 2]

Vertices of the segment.

control_points: [Vec3; 2]

Control points of the segment.

Trait Implementations

impl Debug for OptLineCmd[src]

impl PartialEq<OptLineCmd> for OptLineCmd[src]

impl StructuralPartialEq for OptLineCmd[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, 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.