Skip to main content

FullscreenTextureUpload

Trait FullscreenTextureUpload 

Source
pub trait FullscreenTextureUpload {
    // Required methods
    fn slot(&self) -> u32;
    fn width(&self) -> u32;
    fn height(&self) -> u32;
    fn rgba(&self) -> &[u8] ⓘ;

    // Provided method
    fn generation(&self) -> Option<u64> { ... }
}

Required Methods§

Source

fn slot(&self) -> u32

Source

fn width(&self) -> u32

Source

fn height(&self) -> u32

Source

fn rgba(&self) -> &[u8] ⓘ

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§