pub enum LineCap {
Butt,
Square,
Round,
}Expand description
Line ending style.
Possible values are butt, square, and round caps.
§Examples
use ailloli_ui_core::LineCap;
assert_ne!(LineCap::Butt, LineCap::Round);Variants§
Butt
Ends exactly at each endpoint.
Square
Extends by half the stroke width with a square end.
Round
Extends with a semicircular end.
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