tawasuyu/llimphi
Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.
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}