#[non_exhaustive]pub enum StrokeLinecap {
Butt,
Round,
Square,
}Expand description
A value of stroke-linecap.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for StrokeLinecap
impl Clone for StrokeLinecap
Source§fn clone(&self) -> StrokeLinecap
fn clone(&self) -> StrokeLinecap
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 StrokeLinecap
impl Debug for StrokeLinecap
Source§impl Display for StrokeLinecap
impl Display for StrokeLinecap
Source§impl PartialEq for StrokeLinecap
impl PartialEq 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 UnsafeUnpin 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