Struct ambient_api::animation_element::PlayClipFromUrl
source · pub struct PlayClipFromUrl {
pub url: String,
pub looping: bool,
}
Expand description
Play an animation clip from an URL
Fields§
§url: String
Url to clip
looping: bool
Loop the animation
Implementations§
Trait Implementations§
source§impl Clone for PlayClipFromUrl
impl Clone for PlayClipFromUrl
source§fn clone(&self) -> PlayClipFromUrl
fn clone(&self) -> PlayClipFromUrl
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 PlayClipFromUrl
impl Debug for PlayClipFromUrl
source§impl ElementComponent for PlayClipFromUrl
impl ElementComponent for PlayClipFromUrl
Auto Trait Implementations§
impl RefUnwindSafe for PlayClipFromUrl
impl Send for PlayClipFromUrl
impl Sync for PlayClipFromUrl
impl Unpin for PlayClipFromUrl
impl UnwindSafe for PlayClipFromUrl
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.