pub struct AppServices {
pub dir: PathBuf,
pub settings: SettingsStore,
pub recent_files: RecentFiles,
pub crashes: CrashDiagnostics,
}Expand description
应用级服务集合。目录由应用给出;框架只负责 load/save,不自动选择用户目录。
Fields§
§dir: PathBuf§settings: SettingsStore§recent_files: RecentFiles§crashes: CrashDiagnosticsImplementations§
Trait Implementations§
Source§impl Clone for AppServices
impl Clone for AppServices
Auto Trait Implementations§
impl Forget for AppServices
impl Freeze for AppServices
impl Move for AppServices
impl RefUnwindSafe for AppServices
impl Send for AppServices
impl Sync for AppServices
impl Unpin for AppServices
impl UnsafeUnpin for AppServices
impl UnwindSafe for AppServices
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more