Enum graphics::rectangle::Shape [] [src]

pub enum Shape {
    Square,
    Round(RadiusResolution),
    Bevel(Radius),
}

The shape of the rectangle

Variants

Square

Square corners

Round(RadiusResolution)

Round corners, with resolution per corner.

Bevel(Radius)

Bevel corners

Trait Implementations

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

impl Copy for Shape
[src]