mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
13 lines
226 B
Rust
13 lines
226 B
Rust
use steam_shortcuts_util::shortcut::ShortcutOwned;
|
|
|
|
pub trait Platform<T, E>
|
|
where
|
|
T: Into<ShortcutOwned>,
|
|
{
|
|
fn enabled(&self) -> bool;
|
|
|
|
fn name(&self) -> &str;
|
|
|
|
fn get_shortcuts(&self) -> Result<Vec<T>, E>;
|
|
}
|