canvas::webgl_limits

Trait GLLimitsDetect

Source
pub trait GLLimitsDetect {
    // Required method
    fn detect(gl: &Gl, webgl_version: WebGLVersion) -> Self;
}

Required Methods§

Source

fn detect(gl: &Gl, webgl_version: WebGLVersion) -> 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.

Implementations on Foreign Types§

Source§

impl GLLimitsDetect for GLLimits

Source§

fn detect(gl: &Gl, webgl_version: WebGLVersion) -> GLLimits

Implementors§