mirror of
https://github.com/yuhkix/wuwa-downloader.git
synced 2025-06-07 02:03:43 +00:00
14 lines
No EOL
474 B
Rust
14 lines
No EOL
474 B
Rust
use colored::*;
|
|
|
|
#[derive(Clone, Copy)]
|
|
pub struct Status;
|
|
|
|
impl Status {
|
|
pub fn info() -> ColoredString { "[*]".cyan() }
|
|
pub fn success() -> ColoredString { "[+]".green() }
|
|
pub fn warning() -> ColoredString { "[!]".yellow() }
|
|
pub fn error() -> ColoredString { "[-]".red() }
|
|
pub fn question() -> ColoredString { "[?]".blue() }
|
|
pub fn progress() -> ColoredString { "[→]".purple() }
|
|
pub fn matched() -> ColoredString { "[↓]".bright_purple() }
|
|
} |