mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-20 07:41:25 +02:00
This commit demotes the komorebi-core crate to a module (core) inside of the komorebi lib, resulting in the komorebi-client crate lib becoming the single public interface for programming in Rust against komorebi. komorebic and komorebi-gui now consume komorebi-client exclusively as the means for sending and receiving messages to and from komorebi, so that anyone wishing to integrate with komorebi will have all of the same functionality to them as I do.
43 lines
808 B
Rust
43 lines
808 B
Rust
use clap::ValueEnum;
|
|
use schemars::JsonSchema;
|
|
use serde::Deserialize;
|
|
use serde::Serialize;
|
|
use strum::Display;
|
|
use strum::EnumString;
|
|
|
|
#[derive(
|
|
Copy, Clone, Debug, Serialize, Deserialize, Display, EnumString, ValueEnum, JsonSchema,
|
|
)]
|
|
pub enum AnimationStyle {
|
|
Linear,
|
|
EaseInSine,
|
|
EaseOutSine,
|
|
EaseInOutSine,
|
|
EaseInQuad,
|
|
EaseOutQuad,
|
|
EaseInOutQuad,
|
|
EaseInCubic,
|
|
EaseInOutCubic,
|
|
EaseInQuart,
|
|
EaseOutQuart,
|
|
EaseInOutQuart,
|
|
EaseInQuint,
|
|
EaseOutQuint,
|
|
EaseInOutQuint,
|
|
EaseInExpo,
|
|
EaseOutExpo,
|
|
EaseInOutExpo,
|
|
EaseInCirc,
|
|
EaseOutCirc,
|
|
EaseInOutCirc,
|
|
EaseInBack,
|
|
EaseOutBack,
|
|
EaseInOutBack,
|
|
EaseInElastic,
|
|
EaseOutElastic,
|
|
EaseInOutElastic,
|
|
EaseInBounce,
|
|
EaseOutBounce,
|
|
EaseInOutBounce,
|
|
}
|