Trait veloren_voxygen_anim::Animation
source · pub trait Animation {
type Skeleton: Skeleton;
type Dependency<'a>;
// Required method
fn update_skeleton_inner(
_skeleton: &Self::Skeleton,
_dependency: Self::Dependency<'_>,
_anim_time: f32,
_rate: &mut f32,
_skeleton_attr: &<<Self as Animation>::Skeleton as Skeleton>::Attr,
) -> Self::Skeleton;
// Provided method
fn update_skeleton(
skeleton: &Self::Skeleton,
dependency: Self::Dependency<'_>,
anim_time: f32,
rate: &mut f32,
skeleton_attr: &<<Self as Animation>::Skeleton as Skeleton>::Attr,
) -> Self::Skeleton { ... }
}
Required Associated Types§
type Skeleton: Skeleton
type Dependency<'a>
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.