Skip to main content

HalTexture

Trait HalTexture 

Source
pub trait HalTexture {
    // Required methods
    fn extent(&self) -> Extent2D;
    fn format(&self) -> PixelFormat;
}
Expand description

What a target must be able to tell the layers above it.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§