pub enum LineCapStyle {
ButtCap,
RoundCap,
ProjectingSquareCap,
}
Expand description
How to terminate lines.
Variants§
ButtCap
Square the line of at the endpoints of the path.
RoundCap
Round the line off at its end with a semicircular arc as wide as the stroke.
ProjectingSquareCap
End the line with a square cap that protrudes by half the width of the stroke.
Trait Implementations§
source§impl Clone for LineCapStyle
impl Clone for LineCapStyle
source§fn clone(&self) -> LineCapStyle
fn clone(&self) -> LineCapStyle
Returns a copy of the value. Read more
1.6.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 LineCapStyle
impl Debug for LineCapStyle
source§impl Hash for LineCapStyle
impl Hash for LineCapStyle
source§impl PartialEq for LineCapStyle
impl PartialEq for LineCapStyle
impl Copy for LineCapStyle
impl Eq for LineCapStyle
impl StructuralPartialEq for LineCapStyle
Auto Trait Implementations§
impl Freeze for LineCapStyle
impl RefUnwindSafe for LineCapStyle
impl Send for LineCapStyle
impl Sync for LineCapStyle
impl Unpin for LineCapStyle
impl UnwindSafe for LineCapStyle
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)