pub struct PlaySetDifficultySpec {
pub new_difficulty: Difficulty,
}
Fields§
§new_difficulty: Difficulty
Trait Implementations§
Source§impl Clone for PlaySetDifficultySpec
impl Clone for PlaySetDifficultySpec
Source§fn clone(&self) -> PlaySetDifficultySpec
fn clone(&self) -> PlaySetDifficultySpec
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 PlaySetDifficultySpec
impl Debug for PlaySetDifficultySpec
Source§impl Deserialize for PlaySetDifficultySpec
impl Deserialize for PlaySetDifficultySpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<Difficulty> for PlaySetDifficultySpec
impl From<Difficulty> for PlaySetDifficultySpec
Source§fn from(other: Difficulty) -> Self
fn from(other: Difficulty) -> Self
Converts to this type from the input type.
Source§impl From<PlaySetDifficultySpec> for Difficulty
impl From<PlaySetDifficultySpec> for Difficulty
Source§fn from(other: PlaySetDifficultySpec) -> Self
fn from(other: PlaySetDifficultySpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlaySetDifficultySpec
impl PartialEq for PlaySetDifficultySpec
Source§impl Serialize for PlaySetDifficultySpec
impl Serialize for PlaySetDifficultySpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlaySetDifficultySpec
Auto Trait Implementations§
impl Freeze for PlaySetDifficultySpec
impl RefUnwindSafe for PlaySetDifficultySpec
impl Send for PlaySetDifficultySpec
impl Sync for PlaySetDifficultySpec
impl Unpin for PlaySetDifficultySpec
impl UnwindSafe for PlaySetDifficultySpec
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