Struct scl_core::version::mods::NewForgeModMeta
source · pub struct NewForgeModMeta {
pub mods: Vec<ForgeModMeta>,
}
Expand description
新版 Forge 模组的元数据信息
新版采用了 TOML 文件记录元数据,且支持单包多模组,故此处的 NewForgeModMeta::mods
是一个数组
Fields§
§mods: Vec<ForgeModMeta>
当前模组包包含的所有模组
Trait Implementations§
source§impl Clone for NewForgeModMeta
impl Clone for NewForgeModMeta
source§fn clone(&self) -> NewForgeModMeta
fn clone(&self) -> NewForgeModMeta
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 NewForgeModMeta
impl Debug for NewForgeModMeta
source§impl<'de> Deserialize<'de> for NewForgeModMeta
impl<'de> Deserialize<'de> for NewForgeModMeta
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 RefUnwindSafe for NewForgeModMeta
impl Send for NewForgeModMeta
impl Sync for NewForgeModMeta
impl Unpin for NewForgeModMeta
impl UnwindSafe for NewForgeModMeta
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