pub struct TextAnimator {
pub selector: TextSelector,
pub properties: TextAnimatorProperties,
}Expand description
One animator: what it selects, and what it does to what it selects.
Fields§
§selector: TextSelectorGives each character its selection, in [0, 1].
properties: TextAnimatorPropertiesApplied to each character in proportion to its selection.
Trait Implementations§
Source§impl Clone for TextAnimator
impl Clone for TextAnimator
Source§impl Debug for TextAnimator
impl Debug for TextAnimator
Source§impl<'de> Deserialize<'de> for TextAnimator
impl<'de> Deserialize<'de> for TextAnimator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextAnimator
impl PartialEq for TextAnimator
Source§impl Serialize for TextAnimator
impl Serialize for TextAnimator
impl StructuralPartialEq for TextAnimator
Auto Trait Implementations§
impl Freeze for TextAnimator
impl RefUnwindSafe for TextAnimator
impl Send for TextAnimator
impl Sync for TextAnimator
impl Unpin for TextAnimator
impl UnsafeUnpin for TextAnimator
impl UnwindSafe for TextAnimator
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