pub struct QuadCmd {
pub color: u32,
pub vertices: [Vec3; 4],
}Expand description
Line Type 4 LDraw command: Draw a quad between 4 vertices.
Fields§
§color: u32Color 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 StructuralPartialEq for QuadCmd
Auto Trait Implementations§
impl Freeze for QuadCmd
impl RefUnwindSafe for QuadCmd
impl Send for QuadCmd
impl Sync for QuadCmd
impl Unpin for QuadCmd
impl UnwindSafe for QuadCmd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more