Trait webrender::device::gl::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§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Texel for u8

Implementors§