pub struct ShotAt {
pub index: usize,
pub progress: f32,
}Expand description
Where a time falls in a Timeline.
Fields§
§index: usizeWhich shot, counted from 0.
progress: f32How far through the shot: 0 at its start, up to (never reaching) 1 at the next shot’s start.
Trait Implementations§
impl Copy for ShotAt
impl StructuralPartialEq for ShotAt
Auto Trait Implementations§
impl Freeze for ShotAt
impl RefUnwindSafe for ShotAt
impl Send for ShotAt
impl Sync for ShotAt
impl Unpin for ShotAt
impl UnsafeUnpin for ShotAt
impl UnwindSafe for ShotAt
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