pub enum DeployTargetKind {
UserConfig,
UserSaves,
Custom,
}Expand description
Classes of filesystem roots a GamePlugin can advertise as
deployment destinations outside the game install dir.
New variants extend the installer’s routing without requiring it to know per-engine path conventions.
Variants§
UserConfig
Per-user config files the engine reads at startup. Examples:
UE4/UE5 <Project>/Saved/Config/Windows/Engine.ini, Bethesda
Documents/My Games/<Game>/*.ini, Larian’s
AppData/Local/<Game>/Player.ini. Files in this target are
usually whole-file replacements keyed by filename.
UserSaves
Per-user save directory. Reserved for save-replacing mods (rare but real, e.g. shipped 100% completion saves).
Custom
Anything the plugin wants to expose that doesn’t fit the above. The installer just routes files to the resolved path; semantics are entirely the plugin’s.
Trait Implementations§
Source§impl Clone for DeployTargetKind
impl Clone for DeployTargetKind
Source§fn clone(&self) -> DeployTargetKind
fn clone(&self) -> DeployTargetKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeployTargetKind
impl Debug for DeployTargetKind
Source§impl PartialEq for DeployTargetKind
impl PartialEq for DeployTargetKind
Source§fn eq(&self, other: &DeployTargetKind) -> bool
fn eq(&self, other: &DeployTargetKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DeployTargetKind
impl Eq for DeployTargetKind
impl StructuralPartialEq for DeployTargetKind
Auto Trait Implementations§
impl Freeze for DeployTargetKind
impl RefUnwindSafe for DeployTargetKind
impl Send for DeployTargetKind
impl Sync for DeployTargetKind
impl Unpin for DeployTargetKind
impl UnsafeUnpin for DeployTargetKind
impl UnwindSafe for DeployTargetKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.