Struct conrod::widget::primitive::text::Style[][src]

pub struct Style {
    pub font_size: Option<FontSize>,
    pub color: Option<Color>,
    pub maybe_wrap: Option<Option<Wrap>>,
    pub line_spacing: Option<Scalar>,
    pub justify: Option<Justify>,
    pub font_id: Option<Option<Id>>,
}

The styling for a Text's graphics.

Fields

The font size for the Text.

The color of the Text.

Whether or not the text should wrap around the width.

The spacing between consecutive lines.

Alignment of the text along the x axis.

The id of the font to use for rendering and layout.

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