Enum graphics::rectangle::Shape [−][src]
pub enum Shape {
Square,
Round(Radius, Resolution),
Bevel(Radius),
}Expand description
The shape of the rectangle corners
Variants
Square corners
Round(Radius, Resolution)Round corners, with resolution per corner.
Tuple Fields of Round
0: Radius1: ResolutionBevel(Radius)Bevel corners
Tuple Fields of Bevel
0: RadiusTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Shape
impl UnwindSafe for Shape
Blanket Implementations
Mutably borrows from an owned value. Read more