pub struct Unwrite<T: WritingRequirement> {
pub(crate) original: T,
pub(crate) outline: T,
}Expand description
Unwrite
First lerp fill_opacity to 0.0, then update with partial from 0.0..1.0 to 0.0..0.0
Fields§
§original: T§outline: TImplementations§
Trait Implementations§
Source§impl<T: WritingRequirement> Eval<T> for Unwrite<T>
impl<T: WritingRequirement> Eval<T> for Unwrite<T>
Source§fn eval_alpha(&self, alpha: f64) -> T
fn eval_alpha(&self, alpha: f64) -> T
Evaluates at the given progress value
alpha in range [0, 1].Source§fn into_animation_cell(self) -> AnimationCell<T>where
Self: Sized + 'static,
fn into_animation_cell(self) -> AnimationCell<T>where
Self: Sized + 'static,
Construct an
AnimationCell<T> with default AnimationInfoAuto Trait Implementations§
impl<T> Freeze for Unwrite<T>where
T: Freeze,
impl<T> RefUnwindSafe for Unwrite<T>where
T: RefUnwindSafe,
impl<T> Send for Unwrite<T>where
T: Send,
impl<T> Sync for Unwrite<T>where
T: Sync,
impl<T> Unpin for Unwrite<T>where
T: Unpin,
impl<T> UnwindSafe for Unwrite<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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