Struct tuix_internal::state::storage::animatable_storage::AnimatableStorage [−][src]
pub struct AnimatableStorage<T> where
T: Interpolator, {
pub entity_indices: Vec<DataIndex, Global>,
pub rule_indices: Vec<DataIndex, Global>,
pub data: Vec<T, Global>,
pub inline_data: Vec<T, Global>,
pub animations: Vec<AnimationState<T>, Global>,
pub active_animations: Vec<AnimationState<T>, Global>,
}
Fields
entity_indices: Vec<DataIndex, Global>
rule_indices: Vec<DataIndex, Global>
data: Vec<T, Global>
inline_data: Vec<T, Global>
animations: Vec<AnimationState<T>, Global>
active_animations: Vec<AnimationState<T>, Global>
Implementations
impl<T> AnimatableStorage<T> where
T: 'static + Default + Clone + Interpolator + Debug + PartialEq<T>,
impl<T> AnimatableStorage<T> where
T: 'static + Default + Clone + Interpolator + Debug + PartialEq<T>,
Return the index of the shared data rule
Links an entity to any matching rules
Insert shared data assocaited with a specified rule index
Returns true if the entity is linked to a currently active animation
Returns a mutable reference to the shared data associated with the specified rule index
Set the value of shared data associated with the specified rule index
Return true if the specified rule index has shared data in the storage
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for AnimatableStorage<T> where
T: RefUnwindSafe,
impl<T> Send for AnimatableStorage<T> where
T: Send,
impl<T> Sync for AnimatableStorage<T> where
T: Sync,
impl<T> Unpin for AnimatableStorage<T> where
T: Unpin,
impl<T> UnwindSafe for AnimatableStorage<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more