Enum jiao::core::paint_types::StrokeCap
source · #[repr(u8)]pub enum StrokeCap {
Butt = 0,
Round = 1,
Square = 2,
}
Expand description
StrokeCap
draws at the beginning and end of an open path contour.
Variants§
Trait Implementations§
source§impl Ord for StrokeCap
impl Ord for StrokeCap
source§impl PartialEq for StrokeCap
impl PartialEq for StrokeCap
source§impl PartialOrd for StrokeCap
impl PartialOrd for StrokeCap
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StrokeCap
impl Eq for StrokeCap
impl StructuralPartialEq for StrokeCap
Auto Trait Implementations§
impl Freeze for StrokeCap
impl RefUnwindSafe for StrokeCap
impl Send for StrokeCap
impl Sync for StrokeCap
impl Unpin for StrokeCap
impl UnwindSafe for StrokeCap
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