pub struct PlayJoinGameSpec {
pub entity_id: i32,
pub gamemode: GameMode,
pub dimension: Dimension,
pub hashed_seed: i64,
pub max_players: u8,
pub level_type: String,
pub view_distance: VarInt,
pub reduced_debug_info: bool,
pub enable_respawn_screen: bool,
}Fields§
§entity_id: i32§gamemode: GameMode§dimension: Dimension§hashed_seed: i64§max_players: u8§level_type: String§view_distance: VarInt§reduced_debug_info: bool§enable_respawn_screen: boolTrait Implementations§
Source§impl Clone for PlayJoinGameSpec
impl Clone for PlayJoinGameSpec
Source§fn clone(&self) -> PlayJoinGameSpec
fn clone(&self) -> PlayJoinGameSpec
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 PlayJoinGameSpec
impl Debug for PlayJoinGameSpec
Source§impl Deserialize for PlayJoinGameSpec
impl Deserialize for PlayJoinGameSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(i32, GameMode, Dimension, i64, u8, String, VarInt, bool, bool)> for PlayJoinGameSpec
impl From<(i32, GameMode, Dimension, i64, u8, String, VarInt, bool, bool)> for PlayJoinGameSpec
Source§impl From<PlayJoinGameSpec> for (i32, GameMode, Dimension, i64, u8, String, VarInt, bool, bool)
impl From<PlayJoinGameSpec> for (i32, GameMode, Dimension, i64, u8, String, VarInt, bool, bool)
Source§fn from(other: PlayJoinGameSpec) -> Self
fn from(other: PlayJoinGameSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayJoinGameSpec
impl PartialEq for PlayJoinGameSpec
Source§impl Serialize for PlayJoinGameSpec
impl Serialize for PlayJoinGameSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayJoinGameSpec
Auto Trait Implementations§
impl Freeze for PlayJoinGameSpec
impl RefUnwindSafe for PlayJoinGameSpec
impl Send for PlayJoinGameSpec
impl Sync for PlayJoinGameSpec
impl Unpin for PlayJoinGameSpec
impl UnwindSafe for PlayJoinGameSpec
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