pub struct Anim {
pub name: String,
pub duration: f32,
}
Expand description
A link to a Model’s animation! You can use this to get some basic information about the animation, or store it for reference. This maintains a link to the Model asset, and will keep it alive as long as this object lives. https://stereokit.net/Pages/StereoKit/Anim.html
Fields§
§name: String
§duration: f32
Trait Implementations§
impl StructuralPartialEq for Anim
Auto Trait Implementations§
impl Freeze for Anim
impl RefUnwindSafe for Anim
impl Send for Anim
impl Sync for Anim
impl Unpin for Anim
impl UnwindSafe for Anim
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