NonSendMarker in bevy::render::view - Rust

pub struct NonSendMarker;
Expand description

Token to ensure a system runs on the main thread.

§
§

Returns the “default value” for a type. Read more

§

§
§
§
§
§

source§
§
§

Return the T ShaderType for self. When used in AsBindGroup derives, it is safe to assume that all images in self exist.

source§
source§
§

§

§
§

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.

source§
source§

Returns the argument unchanged.

§

§

§
§

Creates Self using data from the given World

source§
source§
source§

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

§

source§
§

The type returned in the event of a conversion error.

source§

Performs the conversion.

source§
§

The type returned in the event of a conversion error.

source§

Performs the conversion.

§

§

source§
§