Enum cobble_core::minecraft::AcceptTextures
source · pub enum AcceptTextures {
Prompt,
Enabled,
Disabled,
}
Available on crate feature
servers
only.Expand description
Whether to install a server resource pack
Variants§
Prompt
User gets prompted.
Enabled
Server resources are enabled.
Disabled
Server resources are disabled.
Trait Implementations§
source§impl Clone for AcceptTextures
impl Clone for AcceptTextures
source§fn clone(&self) -> AcceptTextures
fn clone(&self) -> AcceptTextures
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 AcceptTextures
impl Debug for AcceptTextures
source§impl<'de> Deserialize<'de> for AcceptTextures
impl<'de> Deserialize<'de> for AcceptTextures
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<AcceptTextures> for AcceptTextures
impl PartialEq<AcceptTextures> for AcceptTextures
source§fn eq(&self, other: &AcceptTextures) -> bool
fn eq(&self, other: &AcceptTextures) -> bool
source§impl Serialize for AcceptTextures
impl Serialize for AcceptTextures
impl Eq for AcceptTextures
impl StructuralEq for AcceptTextures
impl StructuralPartialEq for AcceptTextures
Auto Trait Implementations§
impl RefUnwindSafe for AcceptTextures
impl Send for AcceptTextures
impl Sync for AcceptTextures
impl Unpin for AcceptTextures
impl UnwindSafe for AcceptTextures
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.