pub enum DependencyMode {
Required,
Optional {
hidden: bool,
},
Independent,
}Expand description
Describes the relationship of a compatible dependency.
Variants§
Required
The dependency is required.
Optional
The dependency is optional, and may optionally be hidden from view on the mod portal.
Fields
Independent
The dependency is independent, it will not affect the load order of the mod that listed the dependency.
Trait Implementations§
Source§impl Clone for DependencyMode
impl Clone for DependencyMode
Source§fn clone(&self) -> DependencyMode
fn clone(&self) -> DependencyMode
Returns a duplicate of the value. Read more
1.0.0 · 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 DependencyMode
impl Debug for DependencyMode
Source§impl Display for DependencyMode
impl Display for DependencyMode
Source§impl PartialEq for DependencyMode
impl PartialEq for DependencyMode
impl Copy for DependencyMode
impl Eq for DependencyMode
impl StructuralPartialEq for DependencyMode
Auto Trait Implementations§
impl Freeze for DependencyMode
impl RefUnwindSafe for DependencyMode
impl Send for DependencyMode
impl Sync for DependencyMode
impl Unpin for DependencyMode
impl UnwindSafe for DependencyMode
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