pub enum TimelineKeyData {
Opacity {
value: f64,
},
Position {
x: f64,
y: f64,
},
Transform {
scale: PointF,
skew: PointF,
rotation: f64,
translation: PointF,
},
Style {
style: Option<LayerEffectsInfo>,
},
GlobalLighting {
global_angle: f64,
global_altitude: f64,
},
}Expand description
TS TimelineKey payload (the type-tagged second half of the union).
Variants§
Opacity
“opacity”
Position
“position”
Transform
“transform”
Style
“style”
Fields
§
style: Option<LayerEffectsInfo>GlobalLighting
“globalLighting”
Trait Implementations§
Source§impl Clone for TimelineKeyData
impl Clone for TimelineKeyData
Source§fn clone(&self) -> TimelineKeyData
fn clone(&self) -> TimelineKeyData
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 TimelineKeyData
impl RefUnwindSafe for TimelineKeyData
impl Send for TimelineKeyData
impl Sync for TimelineKeyData
impl Unpin for TimelineKeyData
impl UnsafeUnpin for TimelineKeyData
impl UnwindSafe for TimelineKeyData
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