pub enum CT_Path2DCommand {
MoveTo(CT_AdjPoint2D),
LineTo(CT_AdjPoint2D),
CubicTo {
control_1: CT_AdjPoint2D,
control_2: CT_AdjPoint2D,
end: CT_AdjPoint2D,
},
ArcTo {
width_radius: GuideOperand,
height_radius: GuideOperand,
start_angle: GuideOperand,
sweep_angle: GuideOperand,
},
Close,
}Variants§
MoveTo(CT_AdjPoint2D)
LineTo(CT_AdjPoint2D)
CubicTo
ArcTo
Fields
§
width_radius: GuideOperand§
height_radius: GuideOperand§
start_angle: GuideOperand§
sweep_angle: GuideOperandClose
Trait Implementations§
Source§impl Clone for CT_Path2DCommand
impl Clone for CT_Path2DCommand
Source§fn clone(&self) -> CT_Path2DCommand
fn clone(&self) -> CT_Path2DCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CT_Path2DCommand
impl Debug for CT_Path2DCommand
Source§impl PartialEq for CT_Path2DCommand
impl PartialEq for CT_Path2DCommand
impl StructuralPartialEq for CT_Path2DCommand
Auto Trait Implementations§
impl Freeze for CT_Path2DCommand
impl RefUnwindSafe for CT_Path2DCommand
impl Send for CT_Path2DCommand
impl Sync for CT_Path2DCommand
impl Unpin for CT_Path2DCommand
impl UnsafeUnpin for CT_Path2DCommand
impl UnwindSafe for CT_Path2DCommand
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