pub struct McmetaPackDescription {
pub text: String,
pub color: Option<String>,
}
Expand description
Determines the version(s) of Minecraft that this pack is compatible with.
See https://minecraft.wiki/w/Pack_format for a full list of pack format numbers.
Fields§
§text: String
The text in the description.
color: Option<String>
The colour of the text in the description.
Trait Implementations§
Source§impl Clone for McmetaPackDescription
impl Clone for McmetaPackDescription
Source§fn clone(&self) -> McmetaPackDescription
fn clone(&self) -> McmetaPackDescription
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 moreSource§impl Debug for McmetaPackDescription
impl Debug for McmetaPackDescription
Source§impl<'de> Deserialize<'de> for McmetaPackDescription
impl<'de> Deserialize<'de> for McmetaPackDescription
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
Source§impl PartialEq for McmetaPackDescription
impl PartialEq for McmetaPackDescription
Source§impl Serialize for McmetaPackDescription
impl Serialize for McmetaPackDescription
impl Eq for McmetaPackDescription
impl StructuralPartialEq for McmetaPackDescription
Auto Trait Implementations§
impl Freeze for McmetaPackDescription
impl RefUnwindSafe for McmetaPackDescription
impl Send for McmetaPackDescription
impl Sync for McmetaPackDescription
impl Unpin for McmetaPackDescription
impl UnwindSafe for McmetaPackDescription
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