pub struct AnimObj {
pub id: Uuid,
pub transform: Transform,
pub kind: AnimObjKind,
}Expand description
Generic for all object type. Conversion is done using IntoAnimOp trait.
Fields§
§id: UuidEach object has it’s UUID so that you can apply animations over IPC to this object’s clone in the runtime.
transform: Transform§kind: AnimObjKindImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AnimObj
impl<'de> Deserialize<'de> for AnimObj
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnimObj
impl RefUnwindSafe for AnimObj
impl Send for AnimObj
impl Sync for AnimObj
impl Unpin for AnimObj
impl UnsafeUnpin for AnimObj
impl UnwindSafe for AnimObj
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