Skip to main content

BindColor

Trait BindColor 

Source
pub trait BindColor {
    // Required method
    fn bind_color(&self) -> Color;
}
Expand description

A value used as a color by a .yui binding.

Required Methods§

Source

fn bind_color(&self) -> Color

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl BindColor for Color

Source§

impl BindColor for u32

Source§

impl<T: BindColor + ?Sized> BindColor for &T

Implementors§