#[repr(u32)]pub enum LineCap {
Butt = 0,
Round = 1,
Square = 2,
}
Expand description
This enum describes the appearance of the ends of stroked paths.
Variants§
Butt = 0
The stroke ends with a flat edge that is perpendicular to the path.
Round = 1
The stroke ends with a rounded edge.
Square = 2
The stroke ends with a square projection beyond the path.
Trait Implementations§
impl Copy for LineCap
impl Eq for LineCap
impl StructuralPartialEq for LineCap
Auto Trait Implementations§
impl Freeze for LineCap
impl RefUnwindSafe for LineCap
impl Send for LineCap
impl Sync for LineCap
impl Unpin for LineCap
impl UnwindSafe for LineCap
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Converts the given value to a
SharedString
.