velato 0.10.0

A Lottie integration for vello.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2024 the Velato Authors
// SPDX-License-Identifier: Apache-2.0 OR MIT

use super::animated_property::AnimatedProperty;
use serde::{Deserialize, Serialize};

/// aka Value, in the Schema.
///
/// An animatable property that holds a float.
#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
pub struct FloatValue {
    #[serde(flatten)]
    pub animated_property: AnimatedProperty<f64>,
}