pub struct TriangleCmd {
pub color: u32,
pub vertices: [Vec3; 3],
}Expand description
Line Type 3 LDraw command: Draw a triangle between 3 vertices.
Fields§
§color: u32Color code of the primitive.
vertices: [Vec3; 3]Vertices of the triangle.
Trait Implementations§
Source§impl Debug for TriangleCmd
impl Debug for TriangleCmd
Source§impl PartialEq for TriangleCmd
impl PartialEq for TriangleCmd
impl StructuralPartialEq for TriangleCmd
Auto Trait Implementations§
impl Freeze for TriangleCmd
impl RefUnwindSafe for TriangleCmd
impl Send for TriangleCmd
impl Sync for TriangleCmd
impl Unpin for TriangleCmd
impl UnwindSafe for TriangleCmd
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