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/helpers/int_boolean.rs Rust · 15 líneas · 382 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/// Represents boolean value… 0 is false, 1 is true.
7#[derive(Deserialize_repr, Serialize_repr, PartialEq, Default, Debug, Clone)]
8#[repr(u8)]
9pub enum BoolInt {
10    /// 0 = False
11    #[default]
12    False = 0,
13    /// 1 = True
14    True = 1,
15}