webrender::device::gl

Trait Texel

Source
pub unsafe trait Texel: Copy + Default {
    // Required method
    fn image_format() -> ImageFormat;
}
Expand description

Plain old data that can be used to initialize a texture.

Required Methods§

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 Texel for u8

Implementors§