pub enum UntypedGameRuleValue {
Boolean(bool),
Integer(i32),
}Variants§
Trait Implementations§
Source§impl Clone for UntypedGameRuleValue
impl Clone for UntypedGameRuleValue
Source§fn clone(&self) -> UntypedGameRuleValue
fn clone(&self) -> UntypedGameRuleValue
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 UntypedGameRuleValue
impl Debug for UntypedGameRuleValue
Source§impl<'de> Deserialize<'de> for UntypedGameRuleValue
impl<'de> Deserialize<'de> for UntypedGameRuleValue
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 Hash for UntypedGameRuleValue
impl Hash for UntypedGameRuleValue
Source§impl PartialEq for UntypedGameRuleValue
impl PartialEq for UntypedGameRuleValue
Source§impl Serialize for UntypedGameRuleValue
impl Serialize for UntypedGameRuleValue
impl Eq for UntypedGameRuleValue
impl StructuralPartialEq for UntypedGameRuleValue
Auto Trait Implementations§
impl Freeze for UntypedGameRuleValue
impl RefUnwindSafe for UntypedGameRuleValue
impl Send for UntypedGameRuleValue
impl Sync for UntypedGameRuleValue
impl Unpin for UntypedGameRuleValue
impl UnwindSafe for UntypedGameRuleValue
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