pub struct Animation {
pub id: Option<String>,
pub name: Option<String>,
pub asset: Option<Box<Asset>>,
pub children: Vec<Animation>,
pub source: Vec<Source>,
pub sampler: Vec<Sampler>,
pub channel: Vec<Channel>,
pub extra: Vec<Extra>,
}
Expand description
Categorizes the declaration of animation information.
Fields§
§id: Option<String>
A text string containing the unique identifier of the element.
name: Option<String>
The text string name of this element.
asset: Option<Box<Asset>>
Asset management information about this element.
children: Vec<Animation>
Allows the formation of a hierarchy of related animations.
source: Vec<Source>
The data repository that provides values according to the semantics of an
Input
element that refers to it.
sampler: Vec<Sampler>
Describes the interpolation sampling function for the animation.
channel: Vec<Channel>
Describes an output channel for the animation.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Trait Implementations§
Source§impl HasId for Animation
impl HasId for Animation
Source§impl ParseLibrary for Animation
impl ParseLibrary for Animation
Source§fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
Extract the library from a single
LibraryElement
.Source§fn mk_element(lib: Library<Self>) -> LibraryElement
fn mk_element(lib: Library<Self>) -> LibraryElement
Make a
LibraryElement
from a Library
.Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
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