gioser

tawasuyu/llimphi

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

Rust 660Markdown 302TOML 157RON 312382 Sutichaykuna

⎇ main shared/foreign-lottie/src/schema/layers/image.rs Rust · 22 siq'ikuna · 599 B Ñawpa willay Pi imata llamkarqan ch'uya

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
4use serde::{Deserialize, Serialize};
5
6use crate::schema::{
7    animated_properties::value::FloatValue,
8    helpers::{int_boolean::BoolInt, visual_object::VisualObject},
9};
10
11use super::visual::VisualLayer;
12
13/// Renders a Precomposition
14#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
15pub struct ImageLayer {
16    /// Visual layer data
17    #[serde(flatten)]
18    pub visual_layer: VisualLayer,
19    /// ID of the image asset as specified in the assets
20    #[serde(rename = "refId")]
21    pub ref_id: String,
22}