velato 0.10.0

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

use crate::schema::layers::AnyLayer;
use serde::{Deserialize, Serialize};

/// Base class for layer holders
#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
pub struct Composition {
    /// An array of Layers
    #[serde(rename = "layers")]
    pub layers: Vec<AnyLayer>,
}