pub struct DynamicProperties {
pub transforms: Vec<PropertyValue<LayoutTransform>>,
pub floats: Vec<PropertyValue<f32>>,
pub colors: Vec<PropertyValue<ColorF>>,
}
Expand description
When using generate_frame()
, a list of PropertyValue
structures
can optionally be supplied to provide the current value of any
animated properties.
Fields§
§transforms: Vec<PropertyValue<LayoutTransform>>
§floats: Vec<PropertyValue<f32>>
opacity
colors: Vec<PropertyValue<ColorF>>
background color
Trait Implementations§
Source§impl Clone for DynamicProperties
impl Clone for DynamicProperties
Source§fn clone(&self) -> DynamicProperties
fn clone(&self) -> DynamicProperties
Returns a copy 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 DynamicProperties
impl Debug for DynamicProperties
Source§impl Default for DynamicProperties
impl Default for DynamicProperties
Source§fn default() -> DynamicProperties
fn default() -> DynamicProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DynamicProperties
impl<'de> Deserialize<'de> for DynamicProperties
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 DynamicProperties
impl PartialEq for DynamicProperties
Source§impl Serialize for DynamicProperties
impl Serialize for DynamicProperties
impl StructuralPartialEq for DynamicProperties
Auto Trait Implementations§
impl Freeze for DynamicProperties
impl RefUnwindSafe for DynamicProperties
impl Send for DynamicProperties
impl Sync for DynamicProperties
impl Unpin for DynamicProperties
impl UnwindSafe for DynamicProperties
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