pub struct AnimationFrame {
pub index: u32,
pub time: u32,
}Fields§
§index: u32§time: u32Ticks (1/20 s).
Trait Implementations§
Source§impl Clone for AnimationFrame
impl Clone for AnimationFrame
Source§impl Debug for AnimationFrame
impl Debug for AnimationFrame
Source§impl<'de> Deserialize<'de> for AnimationFrame
impl<'de> Deserialize<'de> for AnimationFrame
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
Source§impl PartialEq for AnimationFrame
impl PartialEq for AnimationFrame
Source§impl Serialize for AnimationFrame
impl Serialize for AnimationFrame
impl StructuralPartialEq for AnimationFrame
Auto Trait Implementations§
impl Freeze for AnimationFrame
impl RefUnwindSafe for AnimationFrame
impl Send for AnimationFrame
impl Sync for AnimationFrame
impl Unpin for AnimationFrame
impl UnsafeUnpin for AnimationFrame
impl UnwindSafe for AnimationFrame
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