pub enum ModLoaderType {
Fabric,
Forge,
}
Expand description
Types of Minecraft modloaders.
This enum is used to make requests to the CurseForge API.
§Variants
Fabric
- The Fabric modloader.Forge
- The Forge modloader.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ModLoaderType
impl Clone for ModLoaderType
Source§fn clone(&self) -> ModLoaderType
fn clone(&self) -> ModLoaderType
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 ModLoaderType
impl Debug for ModLoaderType
Source§impl<'de> Deserialize<'de> for ModLoaderType
impl<'de> Deserialize<'de> for ModLoaderType
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 Serialize for ModLoaderType
impl Serialize for ModLoaderType
impl Copy for ModLoaderType
Auto Trait Implementations§
impl Freeze for ModLoaderType
impl RefUnwindSafe for ModLoaderType
impl Send for ModLoaderType
impl Sync for ModLoaderType
impl Unpin for ModLoaderType
impl UnwindSafe for ModLoaderType
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