pub trait RaylibRenderTexture2D: AsRef<RenderTexture> + AsMut<RenderTexture> {
// Provided methods
fn id(&self) -> u32 { ... }
fn texture(&self) -> &WeakTexture2D { ... }
fn texture_mut(&mut self) -> &mut WeakTexture2D { ... }
}Provided Methods§
fn id(&self) -> u32
fn texture(&self) -> &WeakTexture2D
fn texture_mut(&mut self) -> &mut WeakTexture2D
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".