Skip to main content

tree_table/types/
note.rs

1use crate::Color3;
2use alloc::string::String;
3
4#[cfg_attr(feature = "tsify", derive(tsify::Tsify))]
5#[cfg_attr(feature = "tsify", tsify(from_wasm_abi))]
6#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
7#[derive(Debug, Clone, PartialEq)]
8pub struct Note {
9    pub note: String,
10    pub bg: Option<Color3>,
11    pub fg: Option<Color3>,
12    pub readonly: bool,
13}