mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Add utility to help format the code (#247)
Signed-off-by: Aisuko <urakiny@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use steam_shortcuts_util::shortcut::ShortcutOwned;
|
||||
use dyn_clone::DynClone;
|
||||
use steam_shortcuts_util::shortcut::ShortcutOwned;
|
||||
|
||||
pub trait GamesPlatform
|
||||
where
|
||||
@@ -14,7 +14,7 @@ where
|
||||
fn enabled(&self) -> bool;
|
||||
|
||||
fn get_shortcut_info(&self) -> eyre::Result<Vec<ShortcutToImport>>;
|
||||
|
||||
|
||||
fn get_settings_serilizable(&self) -> String;
|
||||
|
||||
fn render_ui(&mut self, ui: &mut egui::Ui);
|
||||
@@ -29,7 +29,6 @@ pub struct ShortcutToImport {
|
||||
pub needs_symlinks: bool,
|
||||
}
|
||||
|
||||
|
||||
pub(crate) fn to_shortcuts<T, P>(
|
||||
platform: &P,
|
||||
into_shortcuts: Result<Vec<T>, eyre::ErrReport>,
|
||||
@@ -79,4 +78,3 @@ pub trait NeedsPorton<P> {
|
||||
|
||||
fn create_symlinks(&self, platform: &P) -> bool;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user