pub struct ShaderHandle(_);
Trait Implementations§
source§impl Borrow<Handle> for ShaderHandle
impl Borrow<Handle> for ShaderHandle
source§impl Clone for ShaderHandle
impl Clone for ShaderHandle
source§fn clone(&self) -> ShaderHandle
fn clone(&self) -> ShaderHandle
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 ShaderHandle
impl Debug for ShaderHandle
source§impl Default for ShaderHandle
impl Default for ShaderHandle
source§fn default() -> ShaderHandle
fn default() -> ShaderHandle
Returns the “default value” for a type. Read more
source§impl Deref for ShaderHandle
impl Deref for ShaderHandle
source§impl Display for ShaderHandle
impl Display for ShaderHandle
source§impl From<Handle> for ShaderHandle
impl From<Handle> for ShaderHandle
source§impl From<ShaderHandle> for Handle
impl From<ShaderHandle> for Handle
source§fn from(handle: ShaderHandle) -> Self
fn from(handle: ShaderHandle) -> Self
Converts to this type from the input type.
source§impl HandleLike for ShaderHandle
impl HandleLike for ShaderHandle
fn new(index: HandleIndex, version: HandleIndex) -> Self
fn index(&self) -> HandleIndex
fn version(&self) -> HandleIndex
source§impl Hash for ShaderHandle
impl Hash for ShaderHandle
source§impl Ord for ShaderHandle
impl Ord for ShaderHandle
source§fn cmp(&self, other: &ShaderHandle) -> Ordering
fn cmp(&self, other: &ShaderHandle) -> 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<ShaderHandle> for ShaderHandle
impl PartialEq<ShaderHandle> for ShaderHandle
source§fn eq(&self, other: &ShaderHandle) -> bool
fn eq(&self, other: &ShaderHandle) -> bool
source§impl PartialOrd<ShaderHandle> for ShaderHandle
impl PartialOrd<ShaderHandle> for ShaderHandle
source§fn partial_cmp(&self, other: &ShaderHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &ShaderHandle) -> 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 ShaderHandle
impl Eq for ShaderHandle
impl StructuralEq for ShaderHandle
impl StructuralPartialEq for ShaderHandle
Auto Trait Implementations§
impl RefUnwindSafe for ShaderHandle
impl Send for ShaderHandle
impl Sync for ShaderHandle
impl Unpin for ShaderHandle
impl UnwindSafe for ShaderHandle
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