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
Source§type Output = UpdateClientInfoSpec
type Output = UpdateClientInfoSpec
Output should be Self, except for wrapper types.
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 for UpdateClientInfoSpec
impl PartialEq for UpdateClientInfoSpec
Source§impl Serialize for UpdateClientInfoSpec
impl Serialize for UpdateClientInfoSpec
type Input = UpdateClientInfoSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for UpdateClientInfoSpec
Auto Trait Implementations§
impl Freeze for UpdateClientInfoSpec
impl RefUnwindSafe for UpdateClientInfoSpec
impl Send for UpdateClientInfoSpec
impl Sync for UpdateClientInfoSpec
impl Unpin for UpdateClientInfoSpec
impl UnwindSafe for UpdateClientInfoSpec
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