#[non_exhaustive]pub struct TransitionInfo {
pub kind: TransitionKind,
pub rand_static: [i32; 4],
pub start_time: f64,
pub duration: f64,
}Expand description
The soft cut in progress (Engine::transition_info).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: TransitionKindThe transition shader (projectM mode).
rand_static: [i32; 4]The four random integers fixed for the whole transition (iRandStatic).
start_time: f64Clock time at which the soft cut was started (the previous frame’s time).
duration: f64Total duration of the soft cut in seconds.
Trait Implementations§
Source§impl Clone for TransitionInfo
impl Clone for TransitionInfo
impl Copy for TransitionInfo
Source§impl Debug for TransitionInfo
impl Debug for TransitionInfo
Source§impl PartialEq for TransitionInfo
impl PartialEq for TransitionInfo
impl StructuralPartialEq for TransitionInfo
Auto Trait Implementations§
impl Freeze for TransitionInfo
impl RefUnwindSafe for TransitionInfo
impl Send for TransitionInfo
impl Sync for TransitionInfo
impl Unpin for TransitionInfo
impl UnsafeUnpin for TransitionInfo
impl UnwindSafe for TransitionInfo
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