Struct ambient_api::animation_element::AnimationPlayer
source · pub struct AnimationPlayer {
pub root: Element,
}
Expand description
A utility component for playing a sequence of animation clips logically driven by transitions
Fields§
§root: Element
Implementations§
Trait Implementations§
source§impl Clone for AnimationPlayer
impl Clone for AnimationPlayer
source§fn clone(&self) -> AnimationPlayer
fn clone(&self) -> AnimationPlayer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnimationPlayer
impl Debug for AnimationPlayer
source§impl ElementComponent for AnimationPlayer
impl ElementComponent for AnimationPlayer
Auto Trait Implementations§
impl !RefUnwindSafe for AnimationPlayer
impl Send for AnimationPlayer
impl Sync for AnimationPlayer
impl Unpin for AnimationPlayer
impl !UnwindSafe for AnimationPlayer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.