#[repr(C)]pub enum SvgLineCap {
Butt = 0,
Square = 1,
Round = 2,
}Expand description
The shape used at the end of open sub-paths when they are stroked.
Variants§
Trait Implementations§
Source§impl Clone for SvgLineCap
impl Clone for SvgLineCap
Source§fn clone(&self) -> SvgLineCap
fn clone(&self) -> SvgLineCap
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 SvgLineCap
impl Debug for SvgLineCap
Source§impl Default for SvgLineCap
impl Default for SvgLineCap
Source§impl Hash for SvgLineCap
impl Hash for SvgLineCap
Source§impl Ord for SvgLineCap
impl Ord for SvgLineCap
Source§fn cmp(&self, other: &SvgLineCap) -> Ordering
fn cmp(&self, other: &SvgLineCap) -> Ordering
1.21.0 (const: unstable) · 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 SvgLineCap
impl PartialEq for SvgLineCap
Source§fn eq(&self, other: &SvgLineCap) -> bool
fn eq(&self, other: &SvgLineCap) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SvgLineCap
impl PartialOrd for SvgLineCap
impl Copy for SvgLineCap
impl Eq for SvgLineCap
impl StructuralPartialEq for SvgLineCap
Auto Trait Implementations§
impl Freeze for SvgLineCap
impl RefUnwindSafe for SvgLineCap
impl Send for SvgLineCap
impl Sync for SvgLineCap
impl Unpin for SvgLineCap
impl UnsafeUnpin for SvgLineCap
impl UnwindSafe for SvgLineCap
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