pub enum Shape {
Square,
Round,
RoundWithResolution(Resolution),
Bevel,
}
Expand description
The shape of the line
Variants§
Square
Square edges
Round
Round edges
RoundWithResolution(Resolution)
Round edges with specified resolution
Bevel
Bevel edges
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
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