pub enum InputManagerSystem {
Tick,
Update,
ReleaseOnDisable,
ManualControl,
}Expand description
[SystemLabel]s for the crate::systems used by this crate
Reset must occur before Update
Variants
Tick
Advances action timers.
Cleans up the state of the input manager, clearing just_pressed and just_released`
Update
Collects input data to update the ActionState
ReleaseOnDisable
Release all actions in all ActionStates if ToggleActions was added
ManualControl
Manually control the ActionState
Must run after InputManagerSystem::Update or the action state will be overriden
Trait Implementations
sourceimpl Clone for InputManagerSystem
impl Clone for InputManagerSystem
sourcefn clone(&self) -> InputManagerSystem
fn clone(&self) -> InputManagerSystem
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InputManagerSystem
impl Debug for InputManagerSystem
sourceimpl Hash for InputManagerSystem
impl Hash for InputManagerSystem
sourceimpl PartialEq<InputManagerSystem> for InputManagerSystem
impl PartialEq<InputManagerSystem> for InputManagerSystem
sourcefn eq(&self, other: &InputManagerSystem) -> bool
fn eq(&self, other: &InputManagerSystem) -> bool
sourceimpl SystemLabel for InputManagerSystemwhere
Self: 'static,
impl SystemLabel for InputManagerSystemwhere
Self: 'static,
impl Eq for InputManagerSystem
impl StructuralEq for InputManagerSystem
impl StructuralPartialEq for InputManagerSystem
Auto Trait Implementations
impl RefUnwindSafe for InputManagerSystem
impl Send for InputManagerSystem
impl Sync for InputManagerSystem
impl Unpin for InputManagerSystem
impl UnwindSafe for InputManagerSystem
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.