pub struct OptLineCmd {
pub color: u32,
pub vertices: [Vec3; 2],
pub control_points: [Vec3; 2],
}Expand description
Line Type 5 LDraw command: Draw an optional segment between two vertices, aided by 2 control points.
Fields§
§color: u32Color code of the primitive.
vertices: [Vec3; 2]Vertices of the segment.
control_points: [Vec3; 2]Control points of the segment.
Trait Implementations§
Source§impl Debug for OptLineCmd
impl Debug for OptLineCmd
Source§impl PartialEq for OptLineCmd
impl PartialEq for OptLineCmd
impl StructuralPartialEq for OptLineCmd
Auto Trait Implementations§
impl Freeze for OptLineCmd
impl RefUnwindSafe for OptLineCmd
impl Send for OptLineCmd
impl Sync for OptLineCmd
impl Unpin for OptLineCmd
impl UnwindSafe for OptLineCmd
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