khronos_egl

Trait Upcast

Source
pub trait Upcast<V> {
    // Required method
    fn upcast(&self) -> Option<&V>;
}

Required Methods§

Source

fn upcast(&self) -> Option<&V>

Implementors§

Source§

impl<T> Upcast<T> for T