Struct conrod_core::widget::primitive::line::Style [−][src]
pub struct Style { pub maybe_pattern: Option<Pattern>, pub maybe_color: Option<Color>, pub maybe_thickness: Option<Scalar>, pub maybe_cap: Option<Cap>, }
Expand description
Unique styling for a Line widget.
Fields
maybe_pattern: Option<Pattern>
The patter for the line.
maybe_color: Option<Color>
Color of the Button’s pressable area.
maybe_thickness: Option<Scalar>
The thickness of the line.
maybe_cap: Option<Cap>
The style with which the ends of the line are drawn.
Implementations
Set the pattern for the line.
Set the thickness for the line.
The Pattern for the Line.
The width or thickness of the Line.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Style
impl UnwindSafe for Style
Blanket Implementations
Mutably borrows from an owned value. Read more