pub struct DependencyOption(/* private fields */);
Expand description
Dependency option for a game.
Implementations§
Source§impl DependencyOption
impl DependencyOption
Sourcepub const DISALLOWED: Self
pub const DISALLOWED: Self
Disallow mod dependencies.
Sourcepub const NO_RESTRICTION: Self
pub const NO_RESTRICTION: Self
Allow mod dependencies with no restrictions.
Trait Implementations§
Source§impl Clone for DependencyOption
impl Clone for DependencyOption
Source§fn clone(&self) -> DependencyOption
fn clone(&self) -> DependencyOption
Returns a copy 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 DependencyOption
impl Debug for DependencyOption
Source§impl<'de> Deserialize<'de> for DependencyOption
impl<'de> Deserialize<'de> for DependencyOption
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
Source§impl Display for DependencyOption
impl Display for DependencyOption
Source§impl From<DependencyOption> for u8
impl From<DependencyOption> for u8
Source§fn from(value: DependencyOption) -> u8
fn from(value: DependencyOption) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DependencyOption
impl From<u8> for DependencyOption
Source§impl Hash for DependencyOption
impl Hash for DependencyOption
Source§impl PartialEq for DependencyOption
impl PartialEq for DependencyOption
impl Copy for DependencyOption
impl Eq for DependencyOption
impl StructuralPartialEq for DependencyOption
Auto Trait Implementations§
impl Freeze for DependencyOption
impl RefUnwindSafe for DependencyOption
impl Send for DependencyOption
impl Sync for DependencyOption
impl Unpin for DependencyOption
impl UnwindSafe for DependencyOption
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