pub struct PlayRespawnSpec {
pub dimension: NamedNbtTag,
pub world_name: String,
pub hashed_seed: i64,
pub gamemode: GameMode,
pub previous_gamemode: GameMode,
pub is_debug: bool,
pub is_flat: bool,
pub copy_metadata: bool,
}
Fields§
§dimension: NamedNbtTag
§world_name: String
§hashed_seed: i64
§gamemode: GameMode
§previous_gamemode: GameMode
§is_debug: bool
§is_flat: bool
§copy_metadata: bool
Trait Implementations§
Source§impl Clone for PlayRespawnSpec
impl Clone for PlayRespawnSpec
Source§fn clone(&self) -> PlayRespawnSpec
fn clone(&self) -> PlayRespawnSpec
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 PlayRespawnSpec
impl Debug for PlayRespawnSpec
Source§impl Deserialize for PlayRespawnSpec
impl Deserialize for PlayRespawnSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(NamedNbtTag, String, i64, GameMode, GameMode, bool, bool, bool)> for PlayRespawnSpec
impl From<(NamedNbtTag, String, i64, GameMode, GameMode, bool, bool, bool)> for PlayRespawnSpec
Source§impl From<PlayRespawnSpec> for (NamedNbtTag, String, i64, GameMode, GameMode, bool, bool, bool)
impl From<PlayRespawnSpec> for (NamedNbtTag, String, i64, GameMode, GameMode, bool, bool, bool)
Source§fn from(other: PlayRespawnSpec) -> Self
fn from(other: PlayRespawnSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayRespawnSpec
impl PartialEq for PlayRespawnSpec
Source§impl Serialize for PlayRespawnSpec
impl Serialize for PlayRespawnSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayRespawnSpec
Auto Trait Implementations§
impl Freeze for PlayRespawnSpec
impl RefUnwindSafe for PlayRespawnSpec
impl Send for PlayRespawnSpec
impl Sync for PlayRespawnSpec
impl Unpin for PlayRespawnSpec
impl UnwindSafe for PlayRespawnSpec
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