pub enum PointMode {
Points,
Lines,
Polygon,
}Expand description
How a run of points is joined up.
Variants§
Points
Each point on its own, drawn as the stroke’s cap.
Lines
Each pair a segment, and an odd point at the end drawn as nothing.
Polygon
One open run through all of them.
Trait Implementations§
impl Copy for PointMode
impl Eq for PointMode
impl StructuralPartialEq for PointMode
Auto Trait Implementations§
impl Freeze for PointMode
impl RefUnwindSafe for PointMode
impl Send for PointMode
impl Sync for PointMode
impl Unpin for PointMode
impl UnsafeUnpin for PointMode
impl UnwindSafe for PointMode
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