#[repr(C)]
pub enum LINE_CAP {
BUTT,
SQUARE,
ROUND,
}
Expand description
Line drawing cap mode.
Variants
BUTT
The ends of lines are squared off at the endpoints.
SQUARE
The ends of lines are squared off by adding a box with an equal width and half the height of the line’s thickness.
ROUND
The ends of lines are rounded.
Trait Implementations
impl StructuralPartialEq for LINE_CAP
Auto Trait Implementations
impl RefUnwindSafe for LINE_CAP
impl Send for LINE_CAP
impl Sync for LINE_CAP
impl Unpin for LINE_CAP
impl UnwindSafe for LINE_CAP
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more