pub struct FabricVersionData {
pub arguments: Option<LaunchArguments>,
pub id: String,
pub inherits_from: String,
pub libraries: Vec<FabricLibrary>,
pub main_class: String,
pub _type: VersionType,
}
Available on crate feature
fabric
only.Expand description
Extension to the minecraft VersionData.
Fields§
§arguments: Option<LaunchArguments>
Special arguments for launching
id: String
Fabric version ID
inherits_from: String
Inherited Minecraft version ID
libraries: Vec<FabricLibrary>
Libraries.
main_class: String
Main class / entry point
_type: VersionType
Type of the version
Implementations§
Trait Implementations§
Source§impl Clone for FabricVersionData
impl Clone for FabricVersionData
Source§fn clone(&self) -> FabricVersionData
fn clone(&self) -> FabricVersionData
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FabricVersionData
impl Debug for FabricVersionData
Source§impl<'de> Deserialize<'de> for FabricVersionData
impl<'de> Deserialize<'de> for FabricVersionData
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 FabricVersionData
impl RefUnwindSafe for FabricVersionData
impl Send for FabricVersionData
impl Sync for FabricVersionData
impl Unpin for FabricVersionData
impl UnwindSafe for FabricVersionData
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