pub struct DeployTarget {
pub id: &'static str,
pub label: &'static str,
pub kind: DeployTargetKind,
}Expand description
A named alternate deployment root advertised by a GamePlugin.
The installer pipeline keys mods to a target by id; the plugin
resolves id → real path at deploy time via
GamePlugin::resolve_deploy_target. Resolution is deferred so
plugins can incorporate runtime context (Wine prefix, Steam
compatdata, XDG dirs) without baking a path into a static.
Fields§
§id: &'static str§label: &'static str§kind: DeployTargetKindTrait Implementations§
Source§impl Clone for DeployTarget
impl Clone for DeployTarget
Source§fn clone(&self) -> DeployTarget
fn clone(&self) -> DeployTarget
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 DeployTarget
impl Debug for DeployTarget
Source§impl PartialEq for DeployTarget
impl PartialEq for DeployTarget
Source§fn eq(&self, other: &DeployTarget) -> bool
fn eq(&self, other: &DeployTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DeployTarget
impl Eq for DeployTarget
impl StructuralPartialEq for DeployTarget
Auto Trait Implementations§
impl Freeze for DeployTarget
impl RefUnwindSafe for DeployTarget
impl Send for DeployTarget
impl Sync for DeployTarget
impl Unpin for DeployTarget
impl UnsafeUnpin for DeployTarget
impl UnwindSafe for DeployTarget
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.