Struct rin::scene::CreationProxy [−][src]
pub struct CreationProxy<'a> { /* fields omitted */ }
Implementations
impl<'a> CreationProxy<'a>
[src]
impl<'a> CreationProxy<'a>
[src]pub fn new(
entities: EntitiesCreation<'a>,
resources: ResourcesCreation<'a>
) -> CreationProxy<'a>
[src]
entities: EntitiesCreation<'a>,
resources: ResourcesCreation<'a>
) -> CreationProxy<'a>
pub fn clone(&mut self) -> CreationProxy<'_>
[src]
pub fn as_storages(&mut self) -> CreationStorages<'_>
[src]
Trait Implementations
impl<'a> CreationContextExt<'a> for CreationProxy<'a>
[src]
impl<'a> CreationContextExt<'a> for CreationProxy<'a>
[src]pub fn with_entities_and_resources_creation<'e, F, R>(&'e mut self, f: F) -> R where
F: FnOnce(EntitiesCreation<'e>, ResourcesCreation<'e>) -> R,
[src]
F: FnOnce(EntitiesCreation<'e>, ResourcesCreation<'e>) -> R,
impl<'a> EntitiesCreationExt<'a> for CreationProxy<'a>
[src]
impl<'a> EntitiesCreationExt<'a> for CreationProxy<'a>
[src]pub fn with_entities_creation<'e, F, R>(&'e mut self, f: F) -> R where
F: FnOnce(EntitiesCreation<'e>) -> R,
[src]
F: FnOnce(EntitiesCreation<'e>) -> R,
pub fn new_entity(&mut self) -> EntityBuilder<'_>
[src]
pub fn creation_storage<C>(&mut self) -> CreationSto<'_, C> where
C: Component,
[src]
C: Component,
pub fn add_component_to<'r, C>(&mut self, entity: &Entity, component: C) where
C: ComponentSend,
<C as Component>::Storage: for<'s> Storage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
[src]
C: ComponentSend,
<C as Component>::Storage: for<'s> Storage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
pub fn add_component_to_thread_local<'r, C>(
&mut self,
entity: &Entity,
component: C
) where
C: ComponentThreadLocal,
<C as Component>::Storage: for<'s> Storage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
[src]
&mut self,
entity: &Entity,
component: C
) where
C: ComponentThreadLocal,
<C as Component>::Storage: for<'s> Storage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
pub fn add_tag_to<C>(&mut self, entity: &Entity) where
C: 'static,
[src]
C: 'static,
pub fn add_child_component_to<'r, C>(
&mut self,
parent: &Entity,
entity: &Entity,
component: C
) where
C: ComponentSend,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
[src]
&mut self,
parent: &Entity,
entity: &Entity,
component: C
) where
C: ComponentSend,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
pub fn add_child_component_to_thread_local<'r, C>(
&mut self,
parent: &Entity,
entity: &Entity,
component: C
) where
C: ComponentThreadLocal,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
[src]
&mut self,
parent: &Entity,
entity: &Entity,
component: C
) where
C: ComponentThreadLocal,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
pub fn add_slice_component_to<'r, C, I>(
&mut self,
entity: &Entity,
component: I
) where
C: OneToNComponentSend,
I: IntoIterator<Item = C>,
<C as Component>::Storage: for<'s> OneToNStorage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
[src]
&mut self,
entity: &Entity,
component: I
) where
C: OneToNComponentSend,
I: IntoIterator<Item = C>,
<C as Component>::Storage: for<'s> OneToNStorage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
pub fn add_slice_component_to_thread_local<'r, C, I>(
&mut self,
entity: &Entity,
component: I
) where
C: OneToNComponentThreadLocal,
I: IntoIterator<Item = C>,
<C as Component>::Storage: for<'s> OneToNStorage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
[src]
&mut self,
entity: &Entity,
component: I
) where
C: OneToNComponentThreadLocal,
I: IntoIterator<Item = C>,
<C as Component>::Storage: for<'s> OneToNStorage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
pub fn remove_component_from<'r, C>(&mut self, entity: &Entity) where
C: Component,
<C as Component>::Storage: for<'s> Storage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
[src]
C: Component,
<C as Component>::Storage: for<'s> Storage<'s, C>,
<<C as Component>::Storage as Storage<'r, C>>::Get: DebugParameter,
pub fn remove_entity(&mut self, entity: &Entity)
[src]
impl<'a> EntitiesExt<'a> for CreationProxy<'a>
[src]
impl<'a> EntitiesExt<'a> for CreationProxy<'a>
[src]pub fn iter_for<'e, S>(&'e self) -> <S as UnorderedData<'e>>::Iter where
S: UnorderedDataSend<'e> + ReadOnlyOp<'e>,
[src]
S: UnorderedDataSend<'e> + ReadOnlyOp<'e>,
pub fn iter_for_mut<'e, S>(&'e mut self) -> <S as UnorderedData<'e>>::IterMut where
S: UnorderedDataSend<'e>,
[src]
S: UnorderedDataSend<'e>,
pub fn ordered_iter_for<'e, S>(&'e self) -> <S as OrderedData<'e>>::Iter where
S: OrderedDataSend<'e> + ReadOnlyOrderedOp<'e>,
[src]
S: OrderedDataSend<'e> + ReadOnlyOrderedOp<'e>,
pub fn ordered_iter_for_mut<'e, S>(&'e mut self) -> <S as OrderedData<'e>>::Iter where
S: OrderedDataSend<'e>,
[src]
S: OrderedDataSend<'e>,
pub fn entity_components<'r, S>(
&'r self,
entity: &Entity
) -> Option<<S as UnorderedData<'r>>::ComponentsRef> where
S: UnorderedDataSend<'r> + ReadOnlyOp<'r> + 'r,
<S as UnorderedData<'r>>::Storage: StorageRef<'r>,
<<S as UnorderedData<'r>>::Storage as StorageRef<'r>>::Component == <S as UnorderedData<'r>>::ComponentsRef,
[src]
&'r self,
entity: &Entity
) -> Option<<S as UnorderedData<'r>>::ComponentsRef> where
S: UnorderedDataSend<'r> + ReadOnlyOp<'r> + 'r,
<S as UnorderedData<'r>>::Storage: StorageRef<'r>,
<<S as UnorderedData<'r>>::Storage as StorageRef<'r>>::Component == <S as UnorderedData<'r>>::ComponentsRef,
pub fn entity_components_mut<'r, S>(
&'r mut self,
entity: &Entity
) -> Option<<S as UnorderedData<'r>>::ComponentsRef> where
S: UnorderedDataSend<'r> + 'r,
<S as UnorderedData<'r>>::Storage: StorageRef<'r>,
<<S as UnorderedData<'r>>::Storage as StorageRef<'r>>::Component == <S as UnorderedData<'r>>::ComponentsRef,
[src]
&'r mut self,
entity: &Entity
) -> Option<<S as UnorderedData<'r>>::ComponentsRef> where
S: UnorderedDataSend<'r> + 'r,
<S as UnorderedData<'r>>::Storage: StorageRef<'r>,
<<S as UnorderedData<'r>>::Storage as StorageRef<'r>>::Component == <S as UnorderedData<'r>>::ComponentsRef,
pub fn iter_for_entities<'e, U, E>(
&'e self,
entities: E
) -> <E as IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>>::IntoEntitiesIter where
E: IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>,
U: UnorderedDataSend<'e>,
<U as UnorderedData<'e>>::Storage: ReadOnlyStorage,
[src]
&'e self,
entities: E
) -> <E as IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>>::IntoEntitiesIter where
E: IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>,
U: UnorderedDataSend<'e>,
<U as UnorderedData<'e>>::Storage: ReadOnlyStorage,
pub fn iter_for_entities_mut<'e, U, E>(
&'e mut self,
entities: E
) -> <E as IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>>::IntoEntitiesIterMut where
E: IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>,
U: UnorderedDataSend<'e>,
[src]
&'e mut self,
entities: E
) -> <E as IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>>::IntoEntitiesIterMut where
E: IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>,
U: UnorderedDataSend<'e>,
pub fn iter_for_entities_opt<'e, U, E>(
&'e self,
entities: E
) -> <E as IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>>::IntoEntitiesOptIter where
E: IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>,
U: UnorderedDataSend<'e>,
<U as UnorderedData<'e>>::Storage: ReadOnlyStorage,
[src]
&'e self,
entities: E
) -> <E as IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>>::IntoEntitiesOptIter where
E: IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>,
U: UnorderedDataSend<'e>,
<U as UnorderedData<'e>>::Storage: ReadOnlyStorage,
pub fn iter_for_entities_opt_mut<'e, U, E>(
&'e mut self,
entities: E
) -> <E as IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>>::IntoEntitiesOptIterMut where
E: IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>,
U: UnorderedDataSend<'e>,
[src]
&'e mut self,
entities: E
) -> <E as IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>>::IntoEntitiesOptIterMut where
E: IntoEntitiesIterator<'e, <U as UnorderedData<'e>>::Storage>,
U: UnorderedDataSend<'e>,
pub fn component_for<C>(&self, entity: &Entity) -> Option<Ptr<'_, C>> where
C: ComponentSend,
<C as Component>::Storage: for<'s> Storage<'s, C>,
[src]
C: ComponentSend,
<C as Component>::Storage: for<'s> Storage<'s, C>,
pub fn component_for_mut<C>(&self, entity: &Entity) -> Option<PtrMut<'_, C>> where
C: ComponentSend,
<C as Component>::Storage: for<'s> Storage<'s, C>,
[src]
C: ComponentSend,
<C as Component>::Storage: for<'s> Storage<'s, C>,
pub fn has_component<C>(&self, entity: &Entity) -> bool where
C: 'static,
[src]
C: 'static,
pub fn tree_node_for<C>(&self, entity: &Entity) -> Option<NodePtr<'_, C>> where
C: ComponentSend,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
[src]
C: ComponentSend,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
pub fn tree_node_for_mut<C>(&self, entity: &Entity) -> Option<NodePtrMut<'_, C>> where
C: ComponentSend,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
[src]
C: ComponentSend,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
pub fn changed_iter_for<'r, S>(
&'r self
) -> EntitiesComponentIter<'r, <S as ChangedData<'r>>::ChangedIter, <S as UnorderedData<'r>>::Storage> where
S: ChangedDataSend<'r> + EntitiesData + ReadOnlyOp<'r> + 'r,
<S as UnorderedData<'r>>::Storage: StorageRef<'r>,
[src]
&'r self
) -> EntitiesComponentIter<'r, <S as ChangedData<'r>>::ChangedIter, <S as UnorderedData<'r>>::Storage> where
S: ChangedDataSend<'r> + EntitiesData + ReadOnlyOp<'r> + 'r,
<S as UnorderedData<'r>>::Storage: StorageRef<'r>,
pub fn changed_iter_for_mut<'r, S>(
&'r mut self
) -> EntitiesComponentIter<'r, <S as ChangedData<'r>>::ChangedIter, <S as UnorderedData<'r>>::Storage> where
S: ChangedDataSend<'r> + EntitiesData + 'r,
<S as UnorderedData<'r>>::Storage: StorageRef<'r>,
[src]
&'r mut self
) -> EntitiesComponentIter<'r, <S as ChangedData<'r>>::ChangedIter, <S as UnorderedData<'r>>::Storage> where
S: ChangedDataSend<'r> + EntitiesData + 'r,
<S as UnorderedData<'r>>::Storage: StorageRef<'r>,
pub fn storage_for<'r, S>(&'r self) -> Sto<'r, S> where
S: UnorderedDataSend<'r> + ReadOnlyOp<'r>,
[src]
S: UnorderedDataSend<'r> + ReadOnlyOp<'r>,
pub fn storage_for_mut<'r, S>(&'r mut self) -> Sto<'r, S> where
S: UnorderedDataSend<'r>,
[src]
S: UnorderedDataSend<'r>,
impl<'a> ResourcesCreationExt for CreationProxy<'a>
[src]
impl<'a> ResourcesCreationExt for CreationProxy<'a>
[src]pub fn with_resources_creation<F, R>(&mut self, f: F) -> R where
F: FnOnce(ResourcesCreation<'_>) -> R,
[src]
F: FnOnce(ResourcesCreation<'_>) -> R,
pub fn add_resource<T>(&mut self, resource: T) where
T: 'static + Send,
[src]
T: 'static + Send,
pub fn remove_resource<T>(&mut self) -> Option<T> where
T: 'static,
[src]
T: 'static,
pub fn add_resource_thread_local<T>(&mut self, resource: T) where
T: 'static,
[src]
T: 'static,
pub fn add_resource_as_trait<T, U, F, FMut>(&mut self, resource: (T, F, FMut)) where
T: 'static + Send,
F: Fn(&T) -> &U + 'static,
U: 'static + Send + ?Sized,
FMut: Fn(&mut T) -> &mut U + 'static,
[src]
T: 'static + Send,
F: Fn(&T) -> &U + 'static,
U: 'static + Send + ?Sized,
FMut: Fn(&mut T) -> &mut U + 'static,
pub fn add_resource_as_trait_thread_local<T, U, F, FMut>(
&mut self,
resource: (T, F, FMut)
) where
T: 'static,
F: Fn(&T) -> &U + 'static,
U: 'static + ?Sized,
FMut: Fn(&mut T) -> &mut U + 'static,
[src]
&mut self,
resource: (T, F, FMut)
) where
T: 'static,
F: Fn(&T) -> &U + 'static,
U: 'static + ?Sized,
FMut: Fn(&mut T) -> &mut U + 'static,
impl<'a> ResourcesExt for CreationProxy<'a>
[src]
impl<'a> ResourcesExt for CreationProxy<'a>
[src]pub fn resource<T>(&self) -> Option<ReadGuardRef<'_, T>> where
T: 'static + Send,
[src]
T: 'static + Send,
pub fn resource_mut<T>(&self) -> Option<WriteGuardRef<'_, T, ()>> where
T: 'static + Send,
[src]
T: 'static + Send,
pub fn resource_as_trait<T>(&self) -> Option<ReadGuardRef<'_, T>> where
T: 'static + Send + ?Sized,
[src]
T: 'static + Send + ?Sized,
pub fn resource_as_trait_mut<T>(&self) -> Option<WriteGuardRef<'_, T, ()>> where
T: 'static + Send + ?Sized,
[src]
T: 'static + Send + ?Sized,
impl<'a> ResourcesThreadLocalExt for CreationProxy<'a>
[src]
impl<'a> ResourcesThreadLocalExt for CreationProxy<'a>
[src]pub fn resource_thread_local<T>(&self) -> Option<ReadGuardRef<'_, T>> where
T: 'static,
[src]
T: 'static,
pub fn resource_thread_local_mut<T>(&self) -> Option<WriteGuardRef<'_, T, ()>> where
T: 'static,
[src]
T: 'static,
pub fn resource_as_trait_thread_local<T>(&self) -> Option<ReadGuardRef<'_, T>> where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
pub fn resource_as_trait_thread_local_mut<T>(
&self
) -> Option<WriteGuardRef<'_, T, ()>> where
T: 'static + ?Sized,
[src]
&self
) -> Option<WriteGuardRef<'_, T, ()>> where
T: 'static + ?Sized,
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CreationProxy<'a>
impl<'a> !Send for CreationProxy<'a>
impl<'a> !Sync for CreationProxy<'a>
impl<'a> Unpin for CreationProxy<'a>
impl<'a> !UnwindSafe for CreationProxy<'a>
Blanket Implementations
impl<'a, C> CreationContext<'a> for C where
C: CreationContextExt<'a> + EntitiesExt<'a> + ResourcesExt + ResourcesThreadLocalExt,
[src]
impl<'a, C> CreationContext<'a> for C where
C: CreationContextExt<'a> + EntitiesExt<'a> + ResourcesExt + ResourcesThreadLocalExt,
[src]pub fn add<'e, B>(&'e mut self, settings: <B as Builder<'e>>::Settings) -> B where
B: Builder<'e>,
[src]
B: Builder<'e>,
pub fn add_model(&mut self, name: &str) -> ModelBuilder<'_>
[src]
pub fn add_child_model(
&mut self,
name: &str,
parent: Entity
) -> ModelBuilder<'_>
[src]
&mut self,
name: &str,
parent: Entity
) -> ModelBuilder<'_>
pub fn add_empty(&mut self, name: &str) -> EmptyBuilder<'_>
[src]
pub fn add_child_empty(
&mut self,
name: &str,
parent: Entity
) -> EmptyBuilder<'_>
[src]
&mut self,
name: &str,
parent: Entity
) -> EmptyBuilder<'_>
pub fn register_mesh<T>(&mut self, geom: Mesh<T>) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug,
[src]
T: 'static + VertexFormat + Send + Clone + Copy + Debug,
pub fn register_named_mesh<T>(
&mut self,
geom: Mesh<T>,
name: &str
) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug,
[src]
&mut self,
geom: Mesh<T>,
name: &str
) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug,
pub fn add_ambient_light(
&mut self,
diffuse: Rgb<f32, LinearRgb>,
specular: Rgb<f32, LinearRgb>
) -> Entity
[src]
&mut self,
diffuse: Rgb<f32, LinearRgb>,
specular: Rgb<f32, LinearRgb>
) -> Entity
pub fn add_directional_light(
&'e mut self,
name: &'e str
) -> DirectionalLightBuilder<'e, C>
[src]
&'e mut self,
name: &'e str
) -> DirectionalLightBuilder<'e, C>
pub fn add_area_light(&'e mut self, name: &'e str) -> AreaLightBuilder<'e, C>
[src]
pub fn add_spot_light(&'e mut self, name: &'e str) -> SpotLightBuilder<'e, C>
[src]
pub fn add_point_light(&'e mut self, name: &'e str) -> PointLightBuilder<'e, C>
[src]
pub fn update_all_transformations(&mut self)
[src]
pub fn add_image_based_light(
&'e mut self,
name: &'e str
) -> ImageBasedLightBuilder<'e, C>
[src]
&'e mut self,
name: &'e str
) -> ImageBasedLightBuilder<'e, C>
pub fn register_material<M>(&mut self, name: &str, material: M) -> MaterialRef where
M: 'static + FullMaterial,
[src]
M: 'static + FullMaterial,
pub fn register_shadow_material<M>(
&mut self,
name: &str,
material: M
) -> ShadowMaterialRef where
M: 'static + FullMaterial,
[src]
&mut self,
name: &str,
material: M
) -> ShadowMaterialRef where
M: 'static + FullMaterial,
pub fn find_material(&self, name: &str) -> Option<MaterialRef>
[src]
pub fn register_texture(&mut self, texture: Texture) -> TextureRef
[src]
pub fn register_texture_from_data_format<T>(
&mut self,
format: LoadDataFormat,
creation_flags: TextureCreationFlags,
data: &[T]
) -> Result<TextureRef, Error> where
T: 'static,
[src]
&mut self,
format: LoadDataFormat,
creation_flags: TextureCreationFlags,
data: &[T]
) -> Result<TextureRef, Error> where
T: 'static,
pub fn register_image<I>(
&mut self,
img: &I,
creation_flags: TextureCreationFlags
) -> Result<TextureRef, Error> where
I: Image + Clone,
[src]
&mut self,
img: &I,
creation_flags: TextureCreationFlags
) -> Result<TextureRef, Error> where
I: Image + Clone,
pub fn register_named_texture_from_data_format<T>(
&mut self,
name: &str,
format: LoadDataFormat,
creation_flags: TextureCreationFlags,
data: &[T]
) -> Result<TextureRef, Error> where
T: 'static,
[src]
&mut self,
name: &str,
format: LoadDataFormat,
creation_flags: TextureCreationFlags,
data: &[T]
) -> Result<TextureRef, Error> where
T: 'static,
pub fn register_named_image<I>(
&mut self,
name: &str,
img: &I,
creation_flags: TextureCreationFlags
) -> Result<TextureRef, Error> where
I: Image + Clone,
[src]
&mut self,
name: &str,
img: &I,
creation_flags: TextureCreationFlags
) -> Result<TextureRef, Error> where
I: Image + Clone,
pub fn register_sampler(&mut self, sampler: Sampler) -> SamplerRef
[src]
pub fn register_named_sampler(
&mut self,
name: &str,
sampler: Sampler
) -> SamplerRef
[src]
&mut self,
name: &str,
sampler: Sampler
) -> SamplerRef
pub fn register_cubemap(&mut self, cubemap: CubeMap) -> CubemapRef
[src]
pub fn register_named_cubemap(
&mut self,
name: &str,
cubemap: CubeMap
) -> CubemapRef
[src]
&mut self,
name: &str,
cubemap: CubeMap
) -> CubemapRef
pub fn find_named_texture(&self, name: &str) -> Option<TextureRef>
[src]
pub fn find_named_cubemap(&self, name: &str) -> Option<CubemapRef>
[src]
pub fn find_named_sampler(&self, name: &str) -> Option<SamplerRef>
[src]
pub fn load_image<P>(
&mut self,
path: P,
flags: TextureCreationFlags
) -> Result<TextureRef, Error> where
P: AsRef<Path>,
[src]
&mut self,
path: P,
flags: TextureCreationFlags
) -> Result<TextureRef, Error> where
P: AsRef<Path>,
pub fn load_cubemap<P>(
&mut self,
path: P,
flags: TextureCreationFlags
) -> Result<CubemapRef, Error> where
P: AsRef<Path>,
[src]
&mut self,
path: P,
flags: TextureCreationFlags
) -> Result<CubemapRef, Error> where
P: AsRef<Path>,
pub fn load_equirectangular_cubemap<P>(
&mut self,
path: P,
flags: TextureCreationFlags,
color_format: ColorFormat
) -> Result<CubemapRef, Error> where
P: AsRef<Path>,
[src]
&mut self,
path: P,
flags: TextureCreationFlags,
color_format: ColorFormat
) -> Result<CubemapRef, Error> where
P: AsRef<Path>,
pub fn load_equirectangular_levels_cubemap<P>(
&mut self,
paths: &[P],
flags: TextureCreationFlags,
color_format: ColorFormat
) -> Result<CubemapRef, Error> where
P: AsRef<Path>,
[src]
&mut self,
paths: &[P],
flags: TextureCreationFlags,
color_format: ColorFormat
) -> Result<CubemapRef, Error> where
P: AsRef<Path>,
pub fn register_vertex_type<T>(&mut self) where
T: 'static + VertexFormat + Send + Clone + Copy + Debug,
[src]
T: 'static + VertexFormat + Send + Clone + Copy + Debug,
impl<'a, C> PathFollowerBuilderExt<C> for C where
C: CreationContext<'a>,
[src]
impl<'a, C> PathFollowerBuilderExt<C> for C where
C: CreationContext<'a>,
[src]pub fn add_path_follower(
&mut self,
entity: &Entity
) -> PathFollowerBuilder<'_, C>
[src]
&mut self,
entity: &Entity
) -> PathFollowerBuilder<'_, C>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]