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