[][src]Enum pushrod::widget::config::WidgetConfig

pub enum WidgetConfig {
    Invalidate {},
    Origin {
        point: Point,
    },
    Size {
        size: Size,
    },
    Color {
        color: Color,
    },
    BorderColor {
        color: Color,
    },
    BorderWidth {
        thickness: u8,
    },
}

Enumeration data type containing storage areas for each configuration object.

Variants

Invalidate

Indicates that a widget's paint contents have become invalidated, and need to be redrawn.

Fields of Invalidate

Origin

Point of origin of this Widget.

Fields of Origin

point: Point
Size

Size of this widget.

Fields of Size

size: Size
Color

The types::Color of this widget: [f64; 4] where the values are [red, green, blue, transparency], values between 0 and 1.0.

Fields of Color

color: Color
BorderColor

The types::Color of the border of this widget: [f64; 4] where the values are [red, green, blue, transparency], values between 0 and 1.0.

Fields of BorderColor

color: Color
BorderWidth

Indicates the thickness of the border width to be drawn inside widgets that draw a border. (See BorderColor.)

Fields of BorderWidth

thickness: u8

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> Erased for T