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§

source

fn dyn_clone(&self) -> Box<dyn ScheduleLabel>

Clones this ScheduleLabel

source

fn as_dyn_eq(&self) -> &dyn DynEq

Casts this value to a form where it can be compared with other type-erased values.

source

fn dyn_hash(&self, state: &mut dyn Hasher)

Feeds this value into the given Hasher.

Provided Methods§

source

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,

source§

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,

source§

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,

source§

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

source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Box<dyn ScheduleLabel>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Hash for dyn ScheduleLabel

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl PartialEq<dyn ScheduleLabel> for dyn ScheduleLabel

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl ScheduleLabel for Box<dyn ScheduleLabel>

source§

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>

Clones this ScheduleLabel
source§

fn as_dyn_eq(&self) -> &dyn DynEq

Casts this value to a form where it can be compared with other type-erased values.
source§

fn dyn_hash(&self, state: &mut dyn Hasher)

Feeds this value into the given Hasher.
source§

impl Eq for dyn ScheduleLabel

Implementations on Foreign Types§

source§

impl ScheduleLabel for Box<dyn ScheduleLabel>

source§

fn inner_type_id(&self) -> TypeId

source§

fn dyn_clone(&self) -> Box<dyn ScheduleLabel>

source§

fn as_dyn_eq(&self) -> &dyn DynEq

source§

fn dyn_hash(&self, state: &mut dyn Hasher)

Implementors§

source§

impl<S: States> ScheduleLabel for OnEnter<S>where Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,

source§

impl<S: States> ScheduleLabel for OnExit<S>where Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,

source§

impl<S: States> ScheduleLabel for OnTransition<S>where Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,