pub struct ForkOptions {
pub unlock: bool,
}Expand description
Options for ProfileManager::fork_with_options.
Default is a faithful copy (all fields false). Flags opt INTO divergence from the source.
Fields§
§unlock: boolIf true, strip both Profile::load_order_lock and every
EnabledMod.lock from the new profile. The source is untouched.
Use this for the “fork to diverge” workflow where the user wants
to freely reorder a clone of a Wabbajack/Collection profile.
Trait Implementations§
Source§impl Clone for ForkOptions
impl Clone for ForkOptions
Source§fn clone(&self) -> ForkOptions
fn clone(&self) -> ForkOptions
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 moreimpl Copy for ForkOptions
Source§impl Debug for ForkOptions
impl Debug for ForkOptions
Source§impl Default for ForkOptions
impl Default for ForkOptions
Source§fn default() -> ForkOptions
fn default() -> ForkOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ForkOptions
impl RefUnwindSafe for ForkOptions
impl Send for ForkOptions
impl Sync for ForkOptions
impl Unpin for ForkOptions
impl UnsafeUnpin for ForkOptions
impl UnwindSafe for ForkOptions
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more