pub struct FramesData { /* private fields */ }Expand description
Data for a frame-based animation. Fields are private; use accessor methods.
Implementations§
Source§impl FramesData
impl FramesData
Sourcepub fn frame_duration_ms(&self) -> NonZeroU32
pub fn frame_duration_ms(&self) -> NonZeroU32
Duration of each frame in milliseconds (guaranteed non-zero).
Trait Implementations§
Source§impl Clone for FramesData
impl Clone for FramesData
Source§impl Debug for FramesData
impl Debug for FramesData
Source§impl<'de> Deserialize<'de> for FramesData
impl<'de> Deserialize<'de> for FramesData
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
impl Eq for FramesData
Source§impl PartialEq for FramesData
impl PartialEq for FramesData
Source§impl Serialize for FramesData
impl Serialize for FramesData
impl StructuralPartialEq for FramesData
Auto Trait Implementations§
impl Freeze for FramesData
impl RefUnwindSafe for FramesData
impl Send for FramesData
impl Sync for FramesData
impl Unpin for FramesData
impl UnsafeUnpin for FramesData
impl UnwindSafe for FramesData
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