Enum cobble_core::minecraft::ResourcepackType
source · pub enum ResourcepackType {
Resourcepack,
Texturepack,
}
Available on crate feature
resourcepacks
only.Expand description
Whether the file is a resourcepack or texturepack.
Variants§
Trait Implementations§
source§impl Clone for ResourcepackType
impl Clone for ResourcepackType
source§fn clone(&self) -> ResourcepackType
fn clone(&self) -> ResourcepackType
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 ResourcepackType
impl Debug for ResourcepackType
source§impl<'de> Deserialize<'de> for ResourcepackType
impl<'de> Deserialize<'de> for ResourcepackType
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