Enum scl_core::version::mods::FabricModIcon
source · pub enum FabricModIcon {
Multiply(HashMap<String, String>),
Single(String),
}
Expand description
一个 Fabric 模组的图标集,其内的成员都是文件路径
图标可以是单个也可以是多个
在 SCL 里,如果提供多个则默认展示第一个
Variants§
Trait Implementations§
source§impl Clone for FabricModIcon
impl Clone for FabricModIcon
source§fn clone(&self) -> FabricModIcon
fn clone(&self) -> FabricModIcon
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 FabricModIcon
impl Debug for FabricModIcon
source§impl<'de> Deserialize<'de> for FabricModIcon
impl<'de> Deserialize<'de> for FabricModIcon
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 FabricModIcon
impl Send for FabricModIcon
impl Sync for FabricModIcon
impl Unpin for FabricModIcon
impl UnwindSafe for FabricModIcon
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