pub enum AnimatableTag {
}Expand description
Tags that can be animated
Variants§
FontSize(f32)
Font size
FontScaleX(f32)
Font scale X
FontScaleY(f32)
Font scale Y
FontSpacing(f32)
Font spacing
FontRotationZ(f32)
Font rotation Z
FontRotationX(f32)
Font rotation X (3D)
FontRotationY(f32)
Font rotation Y (3D)
PrimaryColor([u8; 4])
Primary color
SecondaryColor([u8; 4])
Secondary color
OutlineColor([u8; 4])
Outline color
ShadowColor([u8; 4])
Shadow color
Alpha(u8)
Alpha
BorderWidth(f32)
Border width
ShadowDepth(f32)
Shadow depth
Blur(f32)
Blur
Trait Implementations§
Source§impl Clone for AnimatableTag
impl Clone for AnimatableTag
Source§fn clone(&self) -> AnimatableTag
fn clone(&self) -> AnimatableTag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnimatableTag
impl RefUnwindSafe for AnimatableTag
impl Send for AnimatableTag
impl Sync for AnimatableTag
impl Unpin for AnimatableTag
impl UnsafeUnpin for AnimatableTag
impl UnwindSafe for AnimatableTag
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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