Struct dae_parser::Animation
source · [−]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
sourceimpl HasId for Animation
impl HasId for Animation
sourcefn get_local_map<'a, 'b>(
maps: &'b LocalMaps<'a>
) -> &'b Option<LocalMap<'a, Self>>
fn get_local_map<'a, 'b>(
maps: &'b LocalMaps<'a>
) -> &'b Option<LocalMap<'a, Self>>
Extract the relevant LocalMap
field from a LocalMaps
.
sourcefn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
Extract the relevant LocalMap
field from a LocalMaps
.
sourceimpl ParseLibrary for Animation
impl ParseLibrary for Animation
sourcefn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
Extract the library from a single LibraryElement
.
sourcefn mk_element(lib: Library<Self>) -> LibraryElement
fn mk_element(lib: Library<Self>) -> LibraryElement
Make a LibraryElement
from a Library
.
Auto Trait Implementations
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more