Struct sqa_engine::param::FadeDetails
[−]
[src]
pub struct FadeDetails<T> where
T: Mul<f32, Output = T> + Sub<T, Output = T> + Add<T, Output = T> + Copy, { /* fields omitted */ }
Methods
impl<T> FadeDetails<T> where
T: Mul<f32, Output = T> + Sub<T, Output = T> + Add<T, Output = T> + Copy,
[src]
T: Mul<f32, Output = T> + Sub<T, Output = T> + Add<T, Output = T> + Copy,
fn new(from: T, to: T) -> Self
fn from(&self) -> T
fn set_start_time(&mut self, st: u64)
fn set_duration(&mut self, st: u64)
fn delta(&self) -> T
fn set_active(&mut self, active: bool)
fn time_elapsed(&self, time: u64) -> u64
fn percentage_complete(&self, time: u64) -> f32
Trait Implementations
impl<T: Clone> Clone for FadeDetails<T> where
T: Mul<f32, Output = T> + Sub<T, Output = T> + Add<T, Output = T> + Copy,
[src]
T: Mul<f32, Output = T> + Sub<T, Output = T> + Add<T, Output = T> + Copy,
fn clone(&self) -> FadeDetails<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for FadeDetails<T> where
T: Mul<f32, Output = T> + Sub<T, Output = T> + Add<T, Output = T> + Copy,
[src]
T: Mul<f32, Output = T> + Sub<T, Output = T> + Add<T, Output = T> + Copy,