Trait rmenu::color::Colorable [] [src]

pub trait Colorable {
    fn color(self, color: Color) -> Self;

    fn rgba(self, r: f32, g: f32, b: f32, a: f32) -> Self { ... }
fn rgb(self, r: f32, g: f32, b: f32) -> Self { ... }
fn hsla(self, h: f32, s: f32, l: f32, a: f32) -> Self { ... }
fn hsl(self, h: f32, s: f32, l: f32) -> Self { ... } }

Types that can be colored.

Required Methods

Set the color of the widget.

Provided Methods

Set the color of the widget from rgba values.

Set the color of the widget from rgb values.

Set the color of the widget from hsla values.

Set the color of the widget from hsl values.

Implementations on Foreign Types

impl<'a, T> Colorable for NumberDialer<'a, T>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a, S> Colorable for Button<'a, S>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a> Colorable for CollapsibleArea<'a>
[src]

[src]

[src]

[src]

[src]

[src]

impl<'a> Colorable for Canvas<'a>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<S> Colorable for Oval<S>
[src]

[src]

[src]

[src]

[src]

[src]

impl<'a> Colorable for DirectoryView<'a>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a, T> Colorable for RangeSlider<'a, T>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<I> Colorable for Polygon<I>
[src]

[src]

[src]

[src]

[src]

[src]

impl<X, Y, I> Colorable for Grid<X, Y, I>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a, E> Colorable for EnvelopeEditor<'a, E> where
    E: EnvelopePoint
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl Colorable for BorderedRectangle
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a> Colorable for TitleBar<'a>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl Colorable for RoundedRectangle
[src]

[src]

[src]

[src]

[src]

[src]

impl<'a, X, Y> Colorable for XYPad<'a, X, Y>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a> Colorable for Tabs<'a>
[src]

[src]

[src]

[src]

[src]

[src]

impl Colorable for Rectangle
[src]

[src]

[src]

[src]

[src]

[src]

impl<'a, T> Colorable for DropDownList<'a, T>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl Colorable for Line
[src]

[src]

[src]

[src]

[src]

[src]

impl<X, Y, F> Colorable for PlotPath<X, Y, F>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a> Colorable for TextBox<'a>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a> Colorable for TextEdit<'a>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<A> Colorable for Scrollbar<A>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a, T> Colorable for Slider<'a, T>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a> Colorable for FileNavigator<'a>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<'a> Colorable for Toggle<'a>
[src]

[src]

Build the type's self.$($assignee).+ with the given $Type.

[src]

[src]

[src]

[src]

impl<I> Colorable for PointPath<I>
[src]

[src]

[src]

[src]

[src]

[src]

impl<'a> Colorable for Text<'a>
[src]

[src]

[src]

[src]

[src]

[src]

Implementors