Struct cobble_core::minecraft::Resourcepack
source · pub struct Resourcepack {
pub name: String,
pub path: PathBuf,
pub _type: ResourcepackType,
}
Expand description
Represents a single resourcepack.
Fields
name: String
Filename
path: PathBuf
Filepath
_type: ResourcepackType
Type
Implementations
sourceimpl Resourcepack
impl Resourcepack
Trait Implementations
sourceimpl Clone for Resourcepack
impl Clone for Resourcepack
sourcefn clone(&self) -> Resourcepack
fn clone(&self) -> Resourcepack
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Resourcepack
impl Debug for Resourcepack
sourceimpl<'de> Deserialize<'de> for Resourcepack
impl<'de> Deserialize<'de> for Resourcepack
sourcefn 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
sourceimpl Serialize for Resourcepack
impl Serialize for Resourcepack
Auto Trait Implementations
impl RefUnwindSafe for Resourcepack
impl Send for Resourcepack
impl Sync for Resourcepack
impl Unpin for Resourcepack
impl UnwindSafe for Resourcepack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more