glutin::surface

Trait SurfaceTypeTrait

Source
pub trait SurfaceTypeTrait: Sealed {
    // Required method
    fn surface_type() -> SurfaceType;
}
Expand description

The marker trait to indicate the type of the surface.

Required Methods§

Source

fn surface_type() -> SurfaceType

Get the type of the surface.

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§