#[repr(C)]pub enum LINE_CAP {
BUTT = 0,
SQUARE = 1,
ROUND = 2,
}
Expand description
Line drawing cap mode.
Variants§
BUTT = 0
The ends of lines are squared off at the endpoints.
SQUARE = 1
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 = 2
The ends of lines are rounded.
Trait Implementations§
impl StructuralPartialEq for LINE_CAP
Auto Trait Implementations§
impl Freeze for LINE_CAP
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§
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