pub struct FloatingChatPrefs {
pub x: Option<f32>,
pub y: Option<f32>,
pub collapsed: Option<bool>,
}Expand description
Map-mode floating CHAT panel position + collapse (flatland3-gfx).
Fields§
§x: Option<f32>Left edge in egui screen coordinates.
y: Option<f32>Top edge in egui screen coordinates.
collapsed: Option<bool>Collapsed to the title strip.
Implementations§
Trait Implementations§
Source§impl Clone for FloatingChatPrefs
impl Clone for FloatingChatPrefs
Source§fn clone(&self) -> FloatingChatPrefs
fn clone(&self) -> FloatingChatPrefs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FloatingChatPrefs
impl Debug for FloatingChatPrefs
Source§impl Default for FloatingChatPrefs
impl Default for FloatingChatPrefs
Source§fn default() -> FloatingChatPrefs
fn default() -> FloatingChatPrefs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FloatingChatPrefs
impl<'de> Deserialize<'de> for FloatingChatPrefs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FloatingChatPrefs
impl PartialEq for FloatingChatPrefs
Source§impl Serialize for FloatingChatPrefs
impl Serialize for FloatingChatPrefs
impl StructuralPartialEq for FloatingChatPrefs
Auto Trait Implementations§
impl Freeze for FloatingChatPrefs
impl RefUnwindSafe for FloatingChatPrefs
impl Send for FloatingChatPrefs
impl Sync for FloatingChatPrefs
impl Unpin for FloatingChatPrefs
impl UnsafeUnpin for FloatingChatPrefs
impl UnwindSafe for FloatingChatPrefs
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