pub enum CoreSystemLabel {
Input,
Physics,
Animation,
AI,
Audio,
TransformPropagate,
Collision,
Events,
UILayout,
UIRender,
}Expand description
Built-in system labels for common system phases.
These labels represent standard system phases that many games use. They can be used to order custom systems relative to engine systems.
§Example
use goud_engine::ecs::schedule::{CoreSystemLabel, SystemLabel};
let input = CoreSystemLabel::Input;
let physics = CoreSystemLabel::Physics;
assert_eq!(input.label_name(), "Input");
assert_eq!(physics.label_name(), "Physics");Variants§
Input
Input processing systems (keyboard, mouse, gamepad).
Physics
Physics simulation systems.
Animation
Animation update systems.
AI
AI/behavior systems.
Audio
Audio playback systems.
TransformPropagate
Transform propagation systems.
Collision
Collision detection systems.
Events
Event processing systems.
UILayout
UI layout systems.
UIRender
UI rendering systems.
Implementations§
Trait Implementations§
Source§impl Clone for CoreSystemLabel
impl Clone for CoreSystemLabel
Source§fn clone(&self) -> CoreSystemLabel
fn clone(&self) -> CoreSystemLabel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoreSystemLabel
impl Debug for CoreSystemLabel
Source§impl Default for CoreSystemLabel
impl Default for CoreSystemLabel
Source§fn default() -> CoreSystemLabel
fn default() -> CoreSystemLabel
Returns the “default value” for a type. Read more
Source§impl Display for CoreSystemLabel
impl Display for CoreSystemLabel
Source§impl Hash for CoreSystemLabel
impl Hash for CoreSystemLabel
Source§impl PartialEq for CoreSystemLabel
impl PartialEq for CoreSystemLabel
Source§impl SystemLabel for CoreSystemLabel
impl SystemLabel for CoreSystemLabel
Source§fn label_name(&self) -> &'static str
fn label_name(&self) -> &'static str
Returns a human-readable name for this label.
Source§fn dyn_clone(&self) -> Box<dyn SystemLabel>
fn dyn_clone(&self) -> Box<dyn SystemLabel>
Clones this label into a boxed trait object.
Source§fn dyn_eq(&self, other: &dyn SystemLabel) -> bool
fn dyn_eq(&self, other: &dyn SystemLabel) -> bool
Compares this label with another for equality.
impl Copy for CoreSystemLabel
impl Eq for CoreSystemLabel
impl StructuralPartialEq for CoreSystemLabel
Auto Trait Implementations§
impl Freeze for CoreSystemLabel
impl RefUnwindSafe for CoreSystemLabel
impl Send for CoreSystemLabel
impl Sync for CoreSystemLabel
impl Unpin for CoreSystemLabel
impl UnsafeUnpin for CoreSystemLabel
impl UnwindSafe for CoreSystemLabel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
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().