Skip to main content

RenderApp

Struct RenderApp 

Source
pub struct RenderApp;
Available on crate feature bevy_render only.
Expand description

A label for the rendering sub-app.

Trait Implementations§

Source§

impl AppLabel for RenderApp
where RenderApp: 'static + Send + Sync + Clone + Eq + Debug + Hash,

Source§

fn dyn_clone(&self) -> Box<dyn AppLabel>

Clones this AppLabel.
Source§

fn intern(&self) -> Interned<dyn AppLabel>
where Self: Sized,

Returns an Interned value corresponding to self.
Source§

impl Clone for RenderApp

Source§

fn clone(&self) -> RenderApp

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for RenderApp

Source§

impl Debug for RenderApp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for RenderApp

Source§

fn default() -> RenderApp

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

impl Eq for RenderApp

Source§

impl ExtractComponent<RenderApp> for ContrastAdaptiveSharpening

Source§

type QueryData = &'static ContrastAdaptiveSharpening

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = (DenoiseCas, CasUniform)

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<ContrastAdaptiveSharpening as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<ContrastAdaptiveSharpening as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Fxaa
where Fxaa: Clone,

Source§

type QueryData = &'static Fxaa

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = Fxaa

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<Fxaa as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Fxaa as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Smaa
where Smaa: Clone,

Source§

type QueryData = &'static Smaa

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = Smaa

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<Smaa as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Smaa as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for OrderIndependentTransparencySettings

Source§

type QueryData = &'static OrderIndependentTransparencySettings

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = OrderIndependentTransparencySettings

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<OrderIndependentTransparencySettings as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<OrderIndependentTransparencySettings as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for NoBackgroundMotionVectors

Source§

type QueryData = &'static NoBackgroundMotionVectors

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = NoBackgroundMotionVectors

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( _item: <<NoBackgroundMotionVectors as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<NoBackgroundMotionVectors as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for CameraMainTextureUsages

Source§

type QueryData = &'static CameraMainTextureUsages

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = CameraMainTextureUsages

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<CameraMainTextureUsages as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<CameraMainTextureUsages as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Camera2d

Source§

type QueryData = &'static Camera2d

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = Camera2d

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<Camera2d as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Camera2d as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Camera3d

Source§

type QueryData = &'static Camera3d

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = Camera3d

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<Camera3d as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Camera3d as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Readback
where Readback: Clone,

Source§

type QueryData = &'static Readback

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = Readback

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<Readback as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Readback as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for OcclusionCulling

Source§

type QueryData = &'static OcclusionCulling

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = OcclusionCulling

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<OcclusionCulling as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<OcclusionCulling as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Msaa
where Msaa: Clone,

Source§

type QueryData = &'static Msaa

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = Msaa

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<Msaa as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Msaa as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Tonemapping

Source§

type QueryData = &'static Tonemapping

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = Tonemapping

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<Tonemapping as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Tonemapping as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for DebandDither

Source§

type QueryData = &'static DebandDither

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = DebandDither

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<DebandDither as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<DebandDither as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for RenderDebugOverlay

Source§

type QueryData = &'static RenderDebugOverlay

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = RenderDebugOverlay

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<RenderDebugOverlay as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<RenderDebugOverlay as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for GlobalRenderDebugOverlay

Source§

type QueryData = &'static GlobalRenderDebugOverlay

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = GlobalRenderDebugOverlay

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<GlobalRenderDebugOverlay as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<GlobalRenderDebugOverlay as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for ContactShadows

Source§

type QueryData = &'static ContactShadows

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = ContactShadows

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( settings: <<ContactShadows as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<ContactShadows as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for PbrDeferredLightingDepthId

Source§

type QueryData = &'static PbrDeferredLightingDepthId

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = PbrDeferredLightingDepthId

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<PbrDeferredLightingDepthId as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<PbrDeferredLightingDepthId as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for DistanceFog

Source§

type QueryData = &'static DistanceFog

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = DistanceFog

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<DistanceFog as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<DistanceFog as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for ScreenSpaceAmbientOcclusion

Source§

type QueryData = &'static ScreenSpaceAmbientOcclusion

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = ScreenSpaceAmbientOcclusion

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<ScreenSpaceAmbientOcclusion as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<ScreenSpaceAmbientOcclusion as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for ScreenSpaceReflections

Source§

type QueryData = &'static ScreenSpaceReflections

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = ScreenSpaceReflectionsUniform

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( settings: <<ScreenSpaceReflections as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<ScreenSpaceReflections as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for ScreenSpaceTransmission

Source§

type QueryData = &'static ScreenSpaceTransmission

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = ScreenSpaceTransmission

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<ScreenSpaceTransmission as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<ScreenSpaceTransmission as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl<M> ExtractComponent<RenderApp> for MaterialNode<M>

Source§

type QueryData = &'static MaterialNode<M>

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = MaterialNode<M>

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<MaterialNode<M> as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<MaterialNode<M> as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for AutoExposure

Source§

type QueryData = &'static AutoExposure

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

type Out = AutoExposure

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<AutoExposure as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<AutoExposure as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Bloom

Source§

type QueryData = (&'static Bloom, &'static Camera)

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Hdr>

Filters the entities with additional constraints.
Source§

type Out = (Bloom, BloomUniforms)

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( _: <<Bloom as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Bloom as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for ChromaticAberration

Source§

type QueryData = &'static ChromaticAberration

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = ChromaticAberration

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( chromatic_aberration: <<ChromaticAberration as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<ChromaticAberration as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for LensDistortion

Source§

type QueryData = &'static LensDistortion

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<LensDistortion>

Filters the entities with additional constraints.
Source§

type Out = LensDistortion

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( lens_distortion: <<LensDistortion as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<LensDistortion as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for Vignette

Source§

type QueryData = &'static Vignette

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = Vignette

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( vignette: <<Vignette as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<Vignette as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractComponent<RenderApp> for MotionBlur

Source§

type QueryData = &'static MotionBlur

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = With<Camera>

Filters the entities with additional constraints.
Source§

type Out = MotionBlurUniform

The output from extraction, i.e. ExtractComponent::extract_component. Read more
Source§

fn extract_component( item: <<MotionBlur as ExtractComponent<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<<MotionBlur as ExtractComponent<RenderApp>>::Out>

Defines how the component is transferred into the “sub world”. Read more
Source§

impl ExtractInstance<RenderApp> for EnvironmentMapIds

Source§

type QueryData = &'static EnvironmentMapLight

ECS ReadOnlyQueryData to fetch the components to extract.
Source§

type QueryFilter = ()

Filters the entities with additional constraints.
Source§

fn extract( item: <<EnvironmentMapIds as ExtractInstance<RenderApp>>::QueryData as QueryData>::Item<'_, '_>, ) -> Option<EnvironmentMapIds>

Defines how the component is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp, GpuClusteringPlugin> for GlobalClusterSettings

Source§

type Source = GlobalClusterSettings

Source§

fn extract_resource( source: &<GlobalClusterSettings as ExtractResource<RenderApp, GpuClusteringPlugin>>::Source, ) -> GlobalClusterSettings

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for TonemappingLuts

Source§

type Source = TonemappingLuts

Source§

fn extract_resource( source: &<TonemappingLuts as ExtractResource<RenderApp>>::Source, ) -> TonemappingLuts

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for ClearColor

Source§

type Source = ClearColor

Source§

fn extract_resource( source: &<ClearColor as ExtractResource<RenderApp>>::Source, ) -> ClearColor

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for GlobalsUniform

Source§

type Source = GlobalsUniform

Source§

fn extract_resource( source: &<GlobalsUniform as ExtractResource<RenderApp>>::Source, ) -> GlobalsUniform

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for ManualTextureViews

Source§

type Source = ManualTextureViews

Source§

fn extract_resource( source: &<ManualTextureViews as ExtractResource<RenderApp>>::Source, ) -> ManualTextureViews

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for GlobalRenderDebugOverlay

Source§

type Source = GlobalRenderDebugOverlay

Source§

fn extract_resource( source: &<GlobalRenderDebugOverlay as ExtractResource<RenderApp>>::Source, ) -> GlobalRenderDebugOverlay

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for WireframeConfig

Source§

type Source = WireframeConfig

Source§

fn extract_resource( source: &<WireframeConfig as ExtractResource<RenderApp>>::Source, ) -> WireframeConfig

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for DefaultOpaqueRendererMethod

Source§

type Source = DefaultOpaqueRendererMethod

Source§

fn extract_resource( source: &<DefaultOpaqueRendererMethod as ExtractResource<RenderApp>>::Source, ) -> DefaultOpaqueRendererMethod

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for Wireframe2dConfig

Source§

type Source = Wireframe2dConfig

Source§

fn extract_resource( source: &<Wireframe2dConfig as ExtractResource<RenderApp>>::Source, ) -> Wireframe2dConfig

Defines how the resource is transferred into the “sub world”.
Source§

impl ExtractResource<RenderApp> for LineGizmoEntities

Source§

type Source = LineGizmoEntities

Source§

fn extract_resource( source: &<LineGizmoEntities as ExtractResource<RenderApp>>::Source, ) -> LineGizmoEntities

Defines how the resource is transferred into the “sub world”.
Source§

impl Hash for RenderApp

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for RenderApp

Source§

fn eq(&self, other: &RenderApp) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for RenderApp

Source§

impl SyncComponent<RenderApp, ClusteredDecalPlugin> for ClusteredDecal

Source§

type Target = ClusteredDecal

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, EnvironmentMapGenerationPlugin> for GeneratedEnvironmentMapLight

Source§

type Target = RenderEnvironmentMap

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, PbrPlugin> for DirectionalLight

Source§

type Target = (DirectionalLight, ExtractedDirectionalLight, DirectionalLightViewEntities)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, PbrPlugin> for PointLight

Source§

type Target = (PointLight, ExtractedPointLight, PointAndSpotLightViewEntities)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, PbrPlugin> for SpotLight

Source§

type Target = (SpotLight, ExtractedPointLight, PointAndSpotLightViewEntities)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, PbrPlugin> for RectLight

Source§

type Target = (RectLight, ExtractedRectLight)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, PbrPlugin> for AmbientLight

Source§

type Target = AmbientLight

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, PbrPlugin> for ShadowFilteringMethod

Source§

type Target = ShadowFilteringMethod

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, SkyboxPlugin> for Skybox

Source§

type Target = (Skybox, SkyboxUniforms, SkyboxPipelineId, SkyboxBindGroup)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp, VolumetricFogPlugin> for FogVolume

Source§

type Target = FogVolume

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for ContrastAdaptiveSharpening

Source§

type Target = (DenoiseCas, CasUniform)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Fxaa
where Fxaa: Clone,

Source§

type Target = Fxaa

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Smaa
where Smaa: Clone,

Source§

type Target = (Smaa, SmaaTextures, SmaaPipelines, SmaaBindGroups, ViewSmaaPipelines)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for TemporalAntiAliasing

Source§

type Target = TemporalAntiAliasing

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for OrderIndependentTransparencySettings

Source§

type Target = (OrderIndependentTransparencySettings, OrderIndependentTransparencySettingsOffset, OitResolvePipelineId)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for NoBackgroundMotionVectors

Source§

type Target = NoBackgroundMotionVectors

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for CameraMainTextureUsages

Source§

type Target = CameraMainTextureUsages

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Camera2d

Source§

type Target = Camera2d

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Camera3d

Source§

type Target = Camera3d

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Readback
where Readback: Clone,

Source§

type Target = Readback

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for OcclusionCulling

Source§

type Target = OcclusionCulling

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Msaa
where Msaa: Clone,

Source§

type Target = Msaa

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Tonemapping

Source§

type Target = Tonemapping

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for DebandDither

Source§

type Target = DebandDither

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for RenderDebugOverlay

Source§

type Target = RenderDebugOverlay

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for GlobalRenderDebugOverlay

Source§

type Target = GlobalRenderDebugOverlay

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for AtmosphereSettings

Source§

type Target = GpuAtmosphereSettings

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for ContactShadows

Source§

type Target = (ContactShadows, ViewContactShadowsUniformOffset)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for PbrDeferredLightingDepthId

Source§

type Target = PbrDeferredLightingDepthId

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for DistanceFog

Source§

type Target = (DistanceFog, ViewFogUniformOffset)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for ScreenSpaceAmbientOcclusion

Source§

type Target = (ScreenSpaceAmbientOcclusion, ScreenSpaceAmbientOcclusionResources, SsaoPipelineId, SsaoBindGroups)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for ScreenSpaceReflections

Source§

type Target = (ScreenSpaceReflectionsUniform, ViewScreenSpaceReflectionsUniformOffset, ScreenSpaceReflectionsPipelineId)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for ScreenSpaceTransmission

Source§

type Target = ScreenSpaceTransmission

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl<M> SyncComponent<RenderApp> for MaterialNode<M>

Source§

type Target = MaterialNode<M>

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for AutoExposure

Source§

type Target = AutoExposure

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Bloom

Source§

type Target = (Bloom, BloomUniforms)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for DepthOfField

Source§

type Target = (DepthOfField, DepthOfFieldUniform, DepthOfFieldPipelines, AuxiliaryDepthOfFieldTexture, ViewDepthOfFieldBindGroupLayouts)

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for ChromaticAberration

Source§

type Target = ChromaticAberration

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for LensDistortion

Source§

type Target = LensDistortion

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for Vignette

Source§

type Target = Vignette

Describes what components should be removed from the sub world if the implementing component is removed.
Source§

impl SyncComponent<RenderApp> for MotionBlur

Source§

type Target = MotionBlurUniform

Describes what components should be removed from the sub world if the implementing component is removed.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T, U> AsBindGroupShaderType<U> for T
where U: ShaderType, &'a T: for<'a> Into<U>,

Source§

fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U

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

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> Brush for T
where T: Clone + PartialEq + Default + Debug,

Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> ConditionalSend for T
where T: Send,

Source§

impl<T> Conv for T

Source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Converts Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Converts Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Converts &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Converts &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

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.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

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.
Source§

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.
Source§

impl<T> DowncastSend for T
where T: Any + Send,

Source§

fn into_any_send(self: Box<T>) -> Box<dyn Any + Send>

Converts Box<Trait> (where Trait: DowncastSend) to Box<dyn Any + Send>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,

Source§

impl<T> DynEq for T
where T: Any + Eq,

Source§

fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool

This method tests for self and other values to be equal. Read more
Source§

impl<T> DynHash for T
where T: DynEq + Hash,

Source§

fn dyn_hash(&self, state: &mut dyn Hasher)

Feeds this value into the given Hasher.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> FmtForward for T

Source§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
Source§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
Source§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
Source§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
Source§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
Source§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
Source§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
Source§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
Source§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<S> FromSample<S> for S

Source§

fn from_sample_(s: S) -> S

Source§

impl<T> FromTemplate for T
where T: Clone + Default + Unpin,

Source§

type Template = T

The Template for this type.
Source§

impl<T> FromWorld for T
where T: Default,

Source§

fn from_world(_world: &mut World) -> T

Creates Self using default().

Source§

impl<T, W> HasTypeWitness<W> for T
where W: MakeTypeWitness<Arg = T>, T: ?Sized,

Source§

const WITNESS: W = W::MAKE

A constant of the type witness
Source§

impl<T> HitDataExtra for T
where T: Send + Sync + Debug + Any + 'static,

Source§

impl<T> Identity for T
where T: ?Sized,

Source§

const TYPE_EQ: TypeEq<T, <T as Identity>::Type> = TypeEq::NEW

Proof that Self is the same type as Self::Type, provides methods for casting between Self and Self::Type.
Source§

type Type = T

The same type as Self, used to emulate type equality bounds (T == U) with associated type equality constraints (T: Identity<Type = U>).
Source§

impl<T> InitializeFromFunction<T> for T

Source§

fn initialize_from_function(f: fn() -> T) -> T

Create an instance of this type from an initialization function
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> IntoResult<T> for T

Source§

fn into_result(self) -> Result<T, RunSystemError>

Converts this type into the system output type.
Source§

impl<F, T> IntoSample<T> for F
where T: FromSample<F>,

Source§

fn into_sample(self) -> T

Source§

impl<A> Is for A
where A: Any,

Source§

fn is<T>() -> bool
where T: Any,

Checks if the current type “is” another type, using a TypeId equality comparison. This is most useful in the context of generic logic. Read more
Source§

impl<T> NoneValue for T
where T: Default,

Source§

type NoneType = T

Source§

fn null_value() -> T

The none-equivalent value.
Source§

impl<G> PatchFromTemplate for G
where G: FromTemplate,

Source§

type Template = <G as FromTemplate>::Template

The Template that will be patched.
Source§

fn patch<F>(func: F) -> TemplatePatch<F, <G as PatchFromTemplate>::Template>
where F: FnOnce(&mut <G as PatchFromTemplate>::Template, &mut ResolveContext<'_>),

Takes a “patch function” func, and turns it into a TemplatePatch.
Source§

impl<T> PatchTemplate for T
where T: Template,

Source§

fn patch_template<F>(func: F) -> TemplatePatch<F, T>
where F: FnOnce(&mut T, &mut ResolveContext<'_>),

Takes a “patch function” func that patches this Template, and turns it into a TemplatePatch.
Source§

impl<T> Pipe for T
where T: ?Sized,

Source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
Source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
Source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
Source§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
Source§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
Source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<R, P> ReadPrimitive<R> for P
where R: Read + ReadEndian<P>, P: Default,

Source§

fn read_from_little_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
Source§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
Source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Settings for T
where T: 'static + Send + Sync,

Source§

impl<Ret> SpawnIfAsync<(), Ret> for Ret

Source§

fn spawn(self) -> Ret

Spawn the value into the dioxus runtime if it is an async block
Source§

impl<T, O> SuperFrom<T> for O
where O: From<T>,

Source§

fn super_from(input: T) -> O

Convert from a type to another type.
Source§

impl<T, O, M> SuperInto<O, M> for T
where O: SuperFrom<T, M>,

Source§

fn super_into(self) -> O

Convert from a type to another type.
Source§

impl<T> Tap for T

Source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
Source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
Source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
Source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
Source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
Source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
Source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
Source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
Source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
Source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Source§

impl<T> Template for T
where T: Clone + Unpin,

Source§

type Output = T

The type of value produced by this Template.
Source§

fn build_template( &self, _context: &mut TemplateContext<'_, '_>, ) -> Result<<T as Template>::Output, BevyError>

Uses this template and the given entity context to produce a Template::Output.
Source§

fn clone_template(&self) -> T

Clones this template. See Clone.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> ToSample<U> for T
where U: FromSample<T>,

Source§

fn to_sample_(self) -> U

Source§

impl<T> TryConv for T

Source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> TypeData for T
where T: 'static + Send + Sync + Clone,

Source§

fn clone_type_data(&self) -> Box<dyn TypeData>

Creates a type-erased clone of self.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more