Trait bevy_ecs::schedule::ScheduleLabel
source · pub trait ScheduleLabel: 'static + Send + Sync + Debug {
// Required methods
fn dyn_clone(&self) -> Box<dyn ScheduleLabel>;
fn as_dyn_eq(&self) -> &dyn DynEq;
fn dyn_hash(&self, state: &mut dyn Hasher);
// Provided method
fn inner_type_id(&self) -> TypeId { ... }
}
Expand description
A strongly-typed label.
Required Methods§
sourcefn dyn_clone(&self) -> Box<dyn ScheduleLabel>
fn dyn_clone(&self) -> Box<dyn ScheduleLabel>
Clones this ScheduleLabel
Provided Methods§
sourcefn inner_type_id(&self) -> TypeId
fn inner_type_id(&self) -> TypeId
Return’s the TypeId of this label, or the the ID of the
wrappped label type for Box<dyn ScheduleLabel >
Trait Implementations§
source§impl<S: States> AsRef<dyn ScheduleLabel> for OnEnter<S>where
Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,
impl<S: States> AsRef<dyn ScheduleLabel> for OnEnter<S>where Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,
source§fn as_ref(&self) -> &dyn ScheduleLabel
fn as_ref(&self) -> &dyn ScheduleLabel
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<S: States> AsRef<dyn ScheduleLabel> for OnExit<S>where
Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,
impl<S: States> AsRef<dyn ScheduleLabel> for OnExit<S>where Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,
source§fn as_ref(&self) -> &dyn ScheduleLabel
fn as_ref(&self) -> &dyn ScheduleLabel
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<S: States> AsRef<dyn ScheduleLabel> for OnTransition<S>where
Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,
impl<S: States> AsRef<dyn ScheduleLabel> for OnTransition<S>where Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,
source§fn as_ref(&self) -> &dyn ScheduleLabel
fn as_ref(&self) -> &dyn ScheduleLabel
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<dyn ScheduleLabel> for dyn ScheduleLabel
impl AsRef<dyn ScheduleLabel> for dyn ScheduleLabel
source§impl Clone for Box<dyn ScheduleLabel>
impl Clone for Box<dyn ScheduleLabel>
source§impl Hash for dyn ScheduleLabel
impl Hash for dyn ScheduleLabel
source§impl PartialEq<dyn ScheduleLabel> for dyn ScheduleLabel
impl PartialEq<dyn ScheduleLabel> for dyn ScheduleLabel
source§impl ScheduleLabel for Box<dyn ScheduleLabel>
impl ScheduleLabel for Box<dyn ScheduleLabel>
source§fn inner_type_id(&self) -> TypeId
fn inner_type_id(&self) -> TypeId
Return’s the TypeId of this label, or the the ID of the
wrappped label type for
Box<dyn ScheduleLabel >
source§fn dyn_clone(&self) -> Box<dyn ScheduleLabel>
fn dyn_clone(&self) -> Box<dyn ScheduleLabel>
Clones this
ScheduleLabel