pub struct PaintFrame {
pub light: LightDirection,
pub time: f64,
pub scenario_time: f64,
pub frame_index: u32,
pub fps: u32,
pub video_width: u32,
pub video_height: u32,
pub scene_duration: f64,
pub camera: Option<PlaneCamera>,
}Fields§
§light: LightDirection§time: f64§scenario_time: f64§frame_index: u32§fps: u32§video_width: u32§video_height: u32§scene_duration: f64§camera: Option<PlaneCamera>Trait Implementations§
Source§impl Clone for PaintFrame
impl Clone for PaintFrame
impl Copy for PaintFrame
Auto Trait Implementations§
impl Freeze for PaintFrame
impl RefUnwindSafe for PaintFrame
impl Send for PaintFrame
impl Sync for PaintFrame
impl Unpin for PaintFrame
impl UnsafeUnpin for PaintFrame
impl UnwindSafe for PaintFrame
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