pub enum LoadOrderRule {
LoadAfter {
mod_id: ModId,
after: ModId,
},
LoadBefore {
mod_id: ModId,
before: ModId,
},
Incompatible {
mod_a: ModId,
mod_b: ModId,
},
}Expand description
A rule constraining load order.
Variants§
LoadAfter
This mod must load after the specified mod.
LoadBefore
This mod must load before the specified mod.
Incompatible
These two mods are incompatible; error if both enabled.
Trait Implementations§
Source§impl Clone for LoadOrderRule
impl Clone for LoadOrderRule
Source§fn clone(&self) -> LoadOrderRule
fn clone(&self) -> LoadOrderRule
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 LoadOrderRule
impl Debug for LoadOrderRule
Source§impl<'de> Deserialize<'de> for LoadOrderRule
impl<'de> Deserialize<'de> for LoadOrderRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LoadOrderRule
impl RefUnwindSafe for LoadOrderRule
impl Send for LoadOrderRule
impl Sync for LoadOrderRule
impl Unpin for LoadOrderRule
impl UnsafeUnpin for LoadOrderRule
impl UnwindSafe for LoadOrderRule
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