Skip to main content

DynTexture

Trait DynTexture 

Source
pub trait DynTexture: DynResource + Debug { }

Trait Implementations§

Source§

impl Borrow<dyn DynTexture> for Texture

Available on gles only.
Source§

fn borrow(&self) -> &dyn DynTexture

Immutably borrows from an owned value. Read more
Source§

impl Borrow<dyn DynTexture> for Resource

Source§

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".

Implementors§

Source§

impl DynTexture for Resource

Source§

impl DynTexture for Texture

Available on gles only.