Enum conrod::widget::primitive::shape::Style [] [src]

pub enum Style {
    Outline(Style),
    Fill(Option<Color>),
}

The style for some 2D shape.

Variants

The outline of the shape with this style.

A rectangle filled with this color.

Methods

impl Style
[src]

A default Fill style.

A Fill style with some given Color.

A default Outline style.

A default Outline style.

The style with some given Color.

Set the color for the style.

Get the color of the Rectangle.

Trait Implementations

impl Copy for Style
[src]

impl Clone for Style
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Style
[src]

Formats the value using the given formatter.

impl PartialEq for Style
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.