Struct minetest_protocol::wire::command::UpdateClientInfoSpec
source · pub struct UpdateClientInfoSpec {
pub render_target_size: v2u32,
pub real_gui_scaling: f32,
pub real_hud_scaling: f32,
pub max_fs_size: v2f,
}
Fields§
§render_target_size: v2u32
§real_gui_scaling: f32
§real_hud_scaling: f32
§max_fs_size: v2f
Trait Implementations§
source§impl Clone for UpdateClientInfoSpec
impl Clone for UpdateClientInfoSpec
source§fn clone(&self) -> UpdateClientInfoSpec
fn clone(&self) -> UpdateClientInfoSpec
Returns a copy 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 UpdateClientInfoSpec
impl Debug for UpdateClientInfoSpec
source§impl Deserialize for UpdateClientInfoSpec
impl Deserialize for UpdateClientInfoSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl From<UpdateClientInfoSpec> for ToServerCommand
impl From<UpdateClientInfoSpec> for ToServerCommand
source§fn from(value: UpdateClientInfoSpec) -> Self
fn from(value: UpdateClientInfoSpec) -> Self
Converts to this type from the input type.
source§impl PartialEq<UpdateClientInfoSpec> for UpdateClientInfoSpec
impl PartialEq<UpdateClientInfoSpec> for UpdateClientInfoSpec
source§fn eq(&self, other: &UpdateClientInfoSpec) -> bool
fn eq(&self, other: &UpdateClientInfoSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.