gioser

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 660Markdown 302TOML 157RON 312382 Definiciones

⎇ main shared/foreign-lottie/src/schema/layers/shape.rs Rust · 19 líneas · 546 B Historia Quién tocó qué crudo

chore: refresco desde el monorepo — 27 crates nuevos (anim, lottie, svg, mesh, image, layer, test, wire-view, widgets rag-sidebar/router/lazy-list/rive-button) y sync de los 95 existentes 93253cc22 · Sergio ·

1// Copyright 2024 the Velato Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4//! Shapes - <https://lottiefiles.github.io/lottie-docs/shapes/>
5
6use super::visual::VisualLayer;
7use crate::schema::shapes::AnyShape;
8use serde::{Deserialize, Serialize};
9
10/// Has an array of shapes
11#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
12pub struct ShapeLayer {
13    /// Visual layer data
14    #[serde(flatten)]
15    pub visual_layer: VisualLayer,
16    /// Has an array of shapes
17    #[serde(rename = "shapes")]
18    pub shapes: Vec<AnyShape>,
19}