Enum heron_core::PhysicsSystem
source · pub enum PhysicsSystem {
VelocityUpdate,
TransformUpdate,
Events,
}
Expand description
Physics system labels
The systems run during the bevy CoreStage::PostUpdate
stage
Variants
VelocityUpdate
System that update the Velocity
component to reflect the velocity in the physics world
TransformUpdate
System that update the bevy Transform
component to reflect the velocity in the physics world
Events
System that emits collision events
Trait Implementations
sourceimpl Clone for PhysicsSystem
impl Clone for PhysicsSystem
sourcefn clone(&self) -> PhysicsSystem
fn clone(&self) -> PhysicsSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PhysicsSystem
impl Debug for PhysicsSystem
sourceimpl Hash for PhysicsSystem
impl Hash for PhysicsSystem
sourceimpl PartialEq<PhysicsSystem> for PhysicsSystem
impl PartialEq<PhysicsSystem> for PhysicsSystem
sourcefn eq(&self, other: &PhysicsSystem) -> bool
fn eq(&self, other: &PhysicsSystem) -> bool
sourceimpl SystemLabel for PhysicsSystemwhere
Self: 'static,
impl SystemLabel for PhysicsSystemwhere
Self: 'static,
impl Copy for PhysicsSystem
impl Eq for PhysicsSystem
impl StructuralEq for PhysicsSystem
impl StructuralPartialEq for PhysicsSystem
Auto Trait Implementations
impl RefUnwindSafe for PhysicsSystem
impl Send for PhysicsSystem
impl Sync for PhysicsSystem
impl Unpin for PhysicsSystem
impl UnwindSafe for PhysicsSystem
Blanket Implementations
impl<T, U> AsBindGroupShaderType<U> for Twhere
U: ShaderType,
&'a T: for<'a> Into<U>,
impl<T, U> AsBindGroupShaderType<U> for Twhere
U: ShaderType,
&'a T: for<'a> Into<U>,
fn as_bind_group_shader_type(
&self,
_images: &HashMap<Handle<Image>, <Image as RenderAsset>::PreparedAsset, RandomState, Global>
) -> U
fn as_bind_group_shader_type(
&self,
_images: &HashMap<Handle<Image>, <Image as RenderAsset>::PreparedAsset, RandomState, Global>
) -> U
Return the
T
[ShaderType
] for self
. When used in [AsBindGroup
]
derives, it is safe to assume that all images in self
exist. Read moreimpl<T> AsSystemLabel<()> for Twhere
T: SystemLabel,
impl<T> AsSystemLabel<()> for Twhere
T: SystemLabel,
fn as_system_label(&self) -> SystemLabelId
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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 morefn 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 morefn 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 morefn 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 moreimpl<T> DynHash for Twhere
T: DynEq + Hash,
impl<T> DynHash for Twhere
T: DynEq + Hash,
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.