pub trait DynTexture: DynResource + Debug { }Trait Implementations§
Source§impl Borrow<dyn DynTexture> for Resource
impl Borrow<dyn DynTexture> for Resource
Source§fn borrow(&self) -> &dyn DynTexture
fn borrow(&self) -> &dyn DynTexture
Immutably borrows from an owned value. Read more
Source§impl Borrow<dyn DynTexture> for SurfaceTexture
impl Borrow<dyn DynTexture> for SurfaceTexture
Source§fn borrow(&self) -> &dyn DynTexture
fn borrow(&self) -> &dyn DynTexture
Immutably borrows from an owned value. Read more
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".