1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-15 09:44:22 +00:00
starship/src/configs/fill.rs

22 lines
443 B
Rust
Raw Normal View History

use crate::config::ModuleConfig;
use serde::Serialize;
use starship_module_config_derive::ModuleConfig;
#[derive(Clone, ModuleConfig, Serialize)]
pub struct FillConfig<'a> {
pub style: &'a str,
pub symbol: &'a str,
pub disabled: bool,
}
impl<'a> Default for FillConfig<'a> {
fn default() -> Self {
FillConfig {
style: "bold black",
symbol: ".",
disabled: false,
}
}
}