mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
22 lines
375 B
Rust
22 lines
375 B
Rust
use serde::Deserialize;
|
|
use strum::{Display, EnumString, IntoStaticStr};
|
|
|
|
#[derive(
|
|
Clone, Copy, Debug, Default, Deserialize, Display, EnumString, Eq, Hash, IntoStaticStr, PartialEq,
|
|
)]
|
|
#[serde(rename_all = "kebab-case")]
|
|
#[strum(serialize_all = "kebab-case")]
|
|
pub enum Layer {
|
|
#[default]
|
|
App,
|
|
Mgr,
|
|
Tasks,
|
|
Spot,
|
|
Pick,
|
|
Input,
|
|
Confirm,
|
|
Help,
|
|
Cmp,
|
|
Which,
|
|
Notify,
|
|
}
|