pub struct MicroExpressionEvent {
pub expr: MicroExpression,
pub trigger_time: f32,
pub fade_in: f32,
pub fade_out: f32,
}Expand description
A scheduled micro-expression event in a timeline.
Fields§
§expr: MicroExpressionThe micro-expression to play.
trigger_time: f32When (seconds) to start the event.
fade_in: f32Fade-in duration in seconds.
fade_out: f32Fade-out duration in seconds.
Auto Trait Implementations§
impl Freeze for MicroExpressionEvent
impl RefUnwindSafe for MicroExpressionEvent
impl Send for MicroExpressionEvent
impl Sync for MicroExpressionEvent
impl Unpin for MicroExpressionEvent
impl UnsafeUnpin for MicroExpressionEvent
impl UnwindSafe for MicroExpressionEvent
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> 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