pub trait Texture2DHolder {
// Required method
fn texture(&self) -> &Texture2D;
}Expand description
Abstraction over owned and borrowed raylib textures.
Required Methods§
Trait Implementations§
Source§impl Debug for dyn Texture2DHolder
impl Debug for dyn Texture2DHolder
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".