Enum graphics::rectangle::Shape
[−]
[src]
pub enum Shape { Square, Round(Radius, Resolution), Bevel(Radius), }
The shape of the rectangle corners
Variants
Square
Square corners
Round(Radius, Resolution)
Round corners, with resolution per corner.
Bevel(Radius)
Bevel corners
Trait Implementations
impl Copy for Shape
[src]
impl Clone for Shape
[src]
fn clone(&self) -> Shape
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more