Trait rin::gl::Color[][src]

pub trait Color<T> where
    T: ?Sized
{ pub fn as_slice(&self) -> &[f32; 4]; }

Required methods

pub fn as_slice(&self) -> &[f32; 4][src]

Loading content...

Implementations on Foreign Types

impl Color<[f32; 4]> for [f32; 4][src]

Loading content...

Implementors

impl<T> Color<dyn AsRef<[f32; 4]> + 'static> for T where
    T: AsRef<[f32; 4]> + ?Sized
[src]

Loading content...