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

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

The shape of the rectangle

Variants

Square

Square corners

Round

Round corners, with resolution per corner.

Bevel

Bevel corners

Trait Implementations

Derived Implementations

impl Clone for Shape

fn clone(&self) -> Shape

fn clone_from(&mut self, source: &Self)

impl Copy for Shape