Struct conrod::widget::text_box::Style[][src]

pub struct Style {
    pub text_padding: Option<Scalar>,
    pub color: Option<Color>,
    pub border: Option<Scalar>,
    pub border_color: Option<Color>,
    pub text_color: Option<Color>,
    pub font_size: Option<FontSize>,
    pub justify: Option<Justify>,
    pub font_id: Option<Option<Id>>,
}

Unique graphical styling for the TextBox.

Fields

The length of the gap between the bounding rectangle's border and the edge of the text.

Color of the rectangle behind the text.

If you don't want to see the rectangle, either set the color with a zeroed alpha or use the TextEdit widget directly.

The width of the bounding BorderedRectangle border.

The color of the BorderedRecangle's border.

The color of the TextEdit widget.

The font size for the text.

The typographic alignment of the text.

The font used for the Text.

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. Read more

impl Default for Style
[src]

Returns the "default value" for a type. Read more

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 !=.

Auto Trait Implementations

impl Send for Style

impl Sync for Style