pub struct TextureHandle(_);
Trait Implementations§
source§impl Borrow<Handle> for TextureHandle
impl Borrow<Handle> for TextureHandle
source§impl Clone for TextureHandle
impl Clone for TextureHandle
source§fn clone(&self) -> TextureHandle
fn clone(&self) -> TextureHandle
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 TextureHandle
impl Debug for TextureHandle
source§impl Default for TextureHandle
impl Default for TextureHandle
source§fn default() -> TextureHandle
fn default() -> TextureHandle
Returns the “default value” for a type. Read more
source§impl Deref for TextureHandle
impl Deref for TextureHandle
source§impl Display for TextureHandle
impl Display for TextureHandle
source§impl From<Handle> for TextureHandle
impl From<Handle> for TextureHandle
source§impl From<TextureHandle> for Handle
impl From<TextureHandle> for Handle
source§fn from(handle: TextureHandle) -> Self
fn from(handle: TextureHandle) -> Self
Converts to this type from the input type.
source§impl HandleLike for TextureHandle
impl HandleLike for TextureHandle
fn new(index: HandleIndex, version: HandleIndex) -> Self
fn index(&self) -> HandleIndex
fn version(&self) -> HandleIndex
source§impl Hash for TextureHandle
impl Hash for TextureHandle
source§impl Into<UniformVariable> for TextureHandle
impl Into<UniformVariable> for TextureHandle
source§fn into(self) -> UniformVariable
fn into(self) -> UniformVariable
Converts this type into the (usually inferred) input type.
source§impl Ord for TextureHandle
impl Ord for TextureHandle
source§fn cmp(&self, other: &TextureHandle) -> Ordering
fn cmp(&self, other: &TextureHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TextureHandle> for TextureHandle
impl PartialEq<TextureHandle> for TextureHandle
source§fn eq(&self, other: &TextureHandle) -> bool
fn eq(&self, other: &TextureHandle) -> bool
source§impl PartialOrd<TextureHandle> for TextureHandle
impl PartialOrd<TextureHandle> for TextureHandle
source§fn partial_cmp(&self, other: &TextureHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &TextureHandle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TextureHandle
impl Eq for TextureHandle
impl StructuralEq for TextureHandle
impl StructuralPartialEq for TextureHandle
Auto Trait Implementations§
impl RefUnwindSafe for TextureHandle
impl Send for TextureHandle
impl Sync for TextureHandle
impl Unpin for TextureHandle
impl UnwindSafe for TextureHandle
Blanket Implementations§
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more