Skip to main content

BindColor

Trait BindColor 

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

A value used as a 0xAARRGGBB colour by a .yui binding.

Required Methods§

Source

fn bind_color(&self) -> u32

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 u32

Source§

fn bind_color(&self) -> u32

Source§

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

Source§

fn bind_color(&self) -> u32

Implementors§