pub trait SurfaceOutputDetailInterface: CommonTraits {
// Required methods
fn present(&self);
fn texture_discard(&self);
}Available on
custom only.Required Methods§
fn present(&self)
fn texture_discard(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".