Trait CachedSettings

Source
pub trait CachedSettings {
    // Required methods
    fn set(gl: &Gl, value: &Self);
    fn read_cached(cache: &impl Deref<Target = SettingsCache>) -> Self;
    fn write_cached(
        cache: &mut impl DerefMut<Target = SettingsCache>,
        value: &Self,
    );
}

Required Methods§

Source

fn set(gl: &Gl, value: &Self)

Source

fn read_cached(cache: &impl Deref<Target = SettingsCache>) -> Self

Source

fn write_cached(cache: &mut impl DerefMut<Target = SettingsCache>, value: &Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§