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/constants/text_shape.rs Rust · 17 líneas · 438 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
4use serde_repr::{Deserialize_repr, Serialize_repr};
5
6/// Defines the function used to determine the interpolating factor on a text
7/// range selector.
8#[repr(u8)]
9#[derive(Deserialize_repr, Serialize_repr, Debug, Clone, PartialEq)]
10pub enum TextShape {
11    Square = 1,
12    RampUp = 2,
13    RampDown = 3,
14    Triangle = 4,
15    Round = 5,
16    Smooth = 6,
17}