pub struct AnimProperties {
pub fill: Option<Paint>,
pub opacity: Option<f32>,
pub scale: Option<f32>,
pub rotate: Option<f32>,
pub translate: Option<(f32, f32)>,
}Expand description
Animatable property overrides.
Fields§
§fill: Option<Paint>§opacity: Option<f32>§scale: Option<f32>§rotate: Option<f32>§translate: Option<(f32, f32)>Trait Implementations§
Source§impl Clone for AnimProperties
impl Clone for AnimProperties
Source§fn clone(&self) -> AnimProperties
fn clone(&self) -> AnimProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimProperties
impl Debug for AnimProperties
Source§impl Default for AnimProperties
impl Default for AnimProperties
Source§fn default() -> AnimProperties
fn default() -> AnimProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnimProperties
impl<'de> Deserialize<'de> for AnimProperties
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
Auto Trait Implementations§
impl Freeze for AnimProperties
impl RefUnwindSafe for AnimProperties
impl Send for AnimProperties
impl Sync for AnimProperties
impl Unpin for AnimProperties
impl UnsafeUnpin for AnimProperties
impl UnwindSafe for AnimProperties
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