pub enum VersionMetaData {
JavaVersion(JavaVersion),
MainClass(MainClass),
Libraries(Vec<Library>),
Mods(Vec<Mods>),
Natives(Vec<Native>),
AssetsIndex(AssetIndex),
Assets(AssetsFile),
Client(Client),
Arguments(Arguments),
VersionBuilder(VersionBuilder),
}Expand description
Pivot universel, utilisé par tous les loaders (Vanilla, Fabric, Forge…)
Variants§
JavaVersion(JavaVersion)
MainClass(MainClass)
Libraries(Vec<Library>)
Mods(Vec<Mods>)
Natives(Vec<Native>)
AssetsIndex(AssetIndex)
Assets(AssetsFile)
Client(Client)
Arguments(Arguments)
VersionBuilder(VersionBuilder)
Trait Implementations§
Source§impl Clone for VersionMetaData
impl Clone for VersionMetaData
Source§fn clone(&self) -> VersionMetaData
fn clone(&self) -> VersionMetaData
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 moreAuto Trait Implementations§
impl Freeze for VersionMetaData
impl RefUnwindSafe for VersionMetaData
impl Send for VersionMetaData
impl Sync for VersionMetaData
impl Unpin for VersionMetaData
impl UnwindSafe for VersionMetaData
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