pub enum StrokeLinecap {
Butt,
Round,
Square,
}
Expand description
The stroke-linecap attribute is a presentation attribute defining the shape to be used at the end of open subpaths when they are stroked.
butt | round | square
Variants§
Trait Implementations§
Source§impl Clone for StrokeLinecap
impl Clone for StrokeLinecap
Source§fn clone(&self) -> StrokeLinecap
fn clone(&self) -> StrokeLinecap
Returns a copy of the value. Read more
1.0.0 · 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 StrokeLinecap
impl Debug for StrokeLinecap
Source§impl Default for StrokeLinecap
impl Default for StrokeLinecap
Source§fn default() -> StrokeLinecap
fn default() -> StrokeLinecap
Returns the “default value” for a type. Read more
Source§impl Display for StrokeLinecap
impl Display for StrokeLinecap
Source§impl Ord for StrokeLinecap
impl Ord for StrokeLinecap
Source§fn cmp(&self, other: &StrokeLinecap) -> Ordering
fn cmp(&self, other: &StrokeLinecap) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StrokeLinecap
impl PartialEq for StrokeLinecap
Source§impl PartialOrd for StrokeLinecap
impl PartialOrd for StrokeLinecap
impl Copy for StrokeLinecap
impl Eq for StrokeLinecap
impl StructuralPartialEq for StrokeLinecap
Auto Trait Implementations§
impl Freeze for StrokeLinecap
impl RefUnwindSafe for StrokeLinecap
impl Send for StrokeLinecap
impl Sync for StrokeLinecap
impl Unpin for StrokeLinecap
impl UnwindSafe for StrokeLinecap
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