Struct scl_core::version::mods::FabricModMeta
source · pub struct FabricModMeta {
pub name: String,
pub description: String,
pub version: String,
pub icon: Option<FabricModIcon>,
}
Expand description
一个 Fabric 模组的元数据信息
Fields§
§name: String
模组的名称
description: String
模组的介绍
version: String
模组的版本号
icon: Option<FabricModIcon>
模组的图标集
Trait Implementations§
source§impl Clone for FabricModMeta
impl Clone for FabricModMeta
source§fn clone(&self) -> FabricModMeta
fn clone(&self) -> FabricModMeta
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 FabricModMeta
impl Debug for FabricModMeta
source§impl Default for FabricModMeta
impl Default for FabricModMeta
source§fn default() -> FabricModMeta
fn default() -> FabricModMeta
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FabricModMetawhere
FabricModMeta: Default,
impl<'de> Deserialize<'de> for FabricModMetawhere FabricModMeta: Default,
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 FabricModMeta
impl Send for FabricModMeta
impl Sync for FabricModMeta
impl Unpin for FabricModMeta
impl UnwindSafe for FabricModMeta
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