Enum primitives::prelude::LineCap
source · [−]pub enum LineCap {
Butt,
Round,
Square,
}
Expand description
Specifies how the ends of the drawn lines will look.
Variants
Butt
Butt line cap
Round
Round line cap
Square
Square line cap
Trait Implementations
impl Copy for LineCap
Auto Trait Implementations
impl RefUnwindSafe for LineCap
impl Send for LineCap
impl Sync for LineCap
impl Unpin for LineCap
impl UnwindSafe for LineCap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more