gioser

tawasuyu/llimphi

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

Rust 660Markdown 302TOML 157RON 312382 Definitions

⎇ main shared/foreign-lottie/src/schema/helpers/marker.rs Rust · 24 lines · 635 B History Who touched what raw

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
6/// Defines named portions of the composition
7
8#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
9pub struct Marker {
10    /// Comment
11    #[serde(rename = "cm")]
12    #[serde(skip_serializing_if = "Option::is_none")]
13    pub comment: Option<String>,
14
15    /// Time
16    #[serde(rename = "tm")]
17    #[serde(skip_serializing_if = "Option::is_none")]
18    pub time: Option<f64>,
19
20    /// Duration
21    #[serde(rename = "dr")]
22    #[serde(skip_serializing_if = "Option::is_none")]
23    pub duration: Option<f64>,
24}