pub struct TimelineSettings {
pub fps: f32,
pub duration_frames: u32,
}Fields§
§fps: f32§duration_frames: u32Implementations§
Source§impl TimelineSettings
impl TimelineSettings
pub fn time_seconds(&self, frame: u32) -> f64
Trait Implementations§
Source§impl Clone for TimelineSettings
impl Clone for TimelineSettings
Auto Trait Implementations§
impl Freeze for TimelineSettings
impl RefUnwindSafe for TimelineSettings
impl Send for TimelineSettings
impl Sync for TimelineSettings
impl Unpin for TimelineSettings
impl UnsafeUnpin for TimelineSettings
impl UnwindSafe for TimelineSettings
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