BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-base / src / list_settings.rs

list_settings.rs

eef6c0a4 History
list_settings.rs 435 B Download Raw
1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4/// Global settings for list presentation behavior.
5#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
6pub struct ListSettings {
7 /// Whether list items use the active highlight style by default.
8 pub active_highlight: bool,
9}
10
11impl Default for ListSettings {
12 fn default() -> Self {
13 Self {
14 active_highlight: true,
15 }
16 }
17}