Struct oxygengine_composite_renderer::component::CompositeSpriteAnimation [−][src]
pub struct CompositeSpriteAnimation {
pub animations: HashMap<Cow<'static, str>, SpriteAnimation>,
// some fields omitted
}Fields
animations: HashMap<Cow<'static, str>, SpriteAnimation>Implementations
pub fn from_iter<I>(animations: I) -> Self where
I: IntoIterator<Item = (Cow<'static, str>, SpriteAnimation)>,
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
fn from_prefab_with_extras(
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<PhantomData<dyn State + Send + Sync + 'static>>
) -> Result<Self, PrefabError>
Auto Trait Implementations
impl RefUnwindSafe for CompositeSpriteAnimation
impl Send for CompositeSpriteAnimation
impl Sync for CompositeSpriteAnimation
impl Unpin for CompositeSpriteAnimation
impl UnwindSafe for CompositeSpriteAnimation
Blanket Implementations
Mutably borrows from an owned value. Read more
