Enum stdweb::web::LineCap
[−]
[src]
pub enum LineCap { Butt, Round, Square, }
How the end points of every line are drawn.
Variants
Butt
The ends of lines are squared off at the endpoints
Round
The ends of lines are rounded
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.
Trait Implementations
impl Debug for LineCap
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for LineCap
[src]
impl Clone for LineCap
[src]
fn clone(&self) -> LineCap
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for LineCap
[src]
fn eq(&self, __arg_0: &LineCap) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.