pub enum Segment {
Linear(Offset),
Quadratic(Offset, Offset),
Cubic(Offset, Offset, Offset),
}
Expand description
A segment.
Variants§
Linear(Offset)
A line.
Quadratic(Offset, Offset)
A quadratic Bézier curve.
Cubic(Offset, Offset, Offset)
A cubic Bézier curve.
Trait Implementations§
source§impl PartialEq<Segment> for Segment
impl PartialEq<Segment> for Segment
impl Copy for Segment
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
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