Skip to main content

HasLut

Trait HasLut 

Source
pub trait HasLut<'a, D: DataT + ?Sized> {
    // Required method
    fn lut(&self) -> &'a Lut<D>;
}
Expand description

Types that provide an 'a-lived LUT for the data types given in D.

Required Methods§

Source

fn lut(&self) -> &'a Lut<D>

Return the LUT.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<'a, D: DataT> HasLut<'a, D> for &'a Lut<D>