pub struct NonSendMarker;Expand description
Token to ensure a system runs on the main thread.
§
§
Return the T ShaderType for self. When used in AsBindGroup
derives, it is safe to assume that all images in self exist.
§
§
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.
§
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.
§
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.
§
§
Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be
further downcast into Arc<ConcreteType> where ConcreteType implements Trait.