pub struct PaintCtx {
pub time: f64,
pub scenario_time: f64,
pub scene_duration: f64,
pub frame_index: u32,
pub fps: u32,
pub video_width: u32,
pub video_height: u32,
pub stagger_offset: f64,
}Fields§
§time: f64§scenario_time: f64§scene_duration: f64§frame_index: u32§fps: u32§video_width: u32§video_height: u32§stagger_offset: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaintCtx
impl RefUnwindSafe for PaintCtx
impl Send for PaintCtx
impl Sync for PaintCtx
impl Unpin for PaintCtx
impl UnsafeUnpin for PaintCtx
impl UnwindSafe for PaintCtx
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more