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 moreSource§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
impl Copy for ForkOptions
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