pub(crate) struct DynTexture(Arc<dyn TextureInterface>);
Available on
custom
only.Tuple Fields§
§0: Arc<dyn TextureInterface>
Implementations§
Source§impl DynTexture
impl DynTexture
pub(crate) fn new<T: TextureInterface>(t: T) -> Self
Trait Implementations§
Source§impl Clone for DynTexture
impl Clone for DynTexture
Source§fn clone(&self) -> DynTexture
fn clone(&self) -> DynTexture
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DynTexture
impl Debug for DynTexture
Source§impl Deref for DynTexture
impl Deref for DynTexture
Source§impl Hash for DynTexture
impl Hash for DynTexture
Source§impl Ord for DynTexture
impl Ord for DynTexture
Source§impl PartialEq for DynTexture
impl PartialEq for DynTexture
Source§impl PartialOrd for DynTexture
impl PartialOrd for DynTexture
impl Eq for DynTexture
Auto Trait Implementations§
impl Freeze for DynTexture
impl !RefUnwindSafe for DynTexture
impl Send for DynTexture
impl Sync for DynTexture
impl Unpin for DynTexture
impl !UnwindSafe for DynTexture
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.