pub(crate) struct DynExternalTexture(Arc<dyn ExternalTextureInterface>);
Available on
custom
only.Tuple Fields§
§0: Arc<dyn ExternalTextureInterface>
Implementations§
Source§impl DynExternalTexture
impl DynExternalTexture
pub(crate) fn new<T: ExternalTextureInterface>(t: T) -> Self
pub(crate) fn downcast<T: ExternalTextureInterface>(&self) -> Option<&T>
Trait Implementations§
Source§impl Clone for DynExternalTexture
impl Clone for DynExternalTexture
Source§fn clone(&self) -> DynExternalTexture
fn clone(&self) -> DynExternalTexture
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 DynExternalTexture
impl Debug for DynExternalTexture
Source§impl Deref for DynExternalTexture
impl Deref for DynExternalTexture
Source§impl Hash for DynExternalTexture
impl Hash for DynExternalTexture
Source§impl Ord for DynExternalTexture
impl Ord for DynExternalTexture
Source§impl PartialEq for DynExternalTexture
impl PartialEq for DynExternalTexture
Source§impl PartialOrd for DynExternalTexture
impl PartialOrd for DynExternalTexture
impl Eq for DynExternalTexture
Auto Trait Implementations§
impl Freeze for DynExternalTexture
impl !RefUnwindSafe for DynExternalTexture
impl Send for DynExternalTexture
impl Sync for DynExternalTexture
impl Unpin for DynExternalTexture
impl !UnwindSafe for DynExternalTexture
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
Compare self to
key
and return true
if they are equal.