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§
fn slot(&self) -> u32
fn width(&self) -> u32
fn height(&self) -> u32
fn rgba(&self) -> &[u8] ⓘ
Provided Methods§
fn generation(&self) -> Option<u64>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".