pub struct FloatingPanelsPrefs {
pub chat: FloatingPanelPrefs,
pub quest: FloatingPanelPrefs,
pub location: FloatingPanelPrefs,
pub log: FloatingPanelPrefs,
pub stats: FloatingPanelPrefs,
}Fields§
§chat: FloatingPanelPrefs§quest: FloatingPanelPrefs§location: FloatingPanelPrefs§log: FloatingPanelPrefs§stats: FloatingPanelPrefsImplementations§
Source§impl FloatingPanelsPrefs
impl FloatingPanelsPrefs
pub fn is_empty(&self) -> bool
pub fn panel(&self, id: FloatingPanelId) -> &FloatingPanelPrefs
pub fn panel_mut(&mut self, id: FloatingPanelId) -> &mut FloatingPanelPrefs
Trait Implementations§
Source§impl Clone for FloatingPanelsPrefs
impl Clone for FloatingPanelsPrefs
Source§fn clone(&self) -> FloatingPanelsPrefs
fn clone(&self) -> FloatingPanelsPrefs
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 FloatingPanelsPrefs
impl Debug for FloatingPanelsPrefs
Source§impl Default for FloatingPanelsPrefs
impl Default for FloatingPanelsPrefs
Source§fn default() -> FloatingPanelsPrefs
fn default() -> FloatingPanelsPrefs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FloatingPanelsPrefs
impl<'de> Deserialize<'de> for FloatingPanelsPrefs
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 FloatingPanelsPrefs
impl PartialEq for FloatingPanelsPrefs
Source§impl Serialize for FloatingPanelsPrefs
impl Serialize for FloatingPanelsPrefs
impl StructuralPartialEq for FloatingPanelsPrefs
Auto Trait Implementations§
impl Freeze for FloatingPanelsPrefs
impl RefUnwindSafe for FloatingPanelsPrefs
impl Send for FloatingPanelsPrefs
impl Sync for FloatingPanelsPrefs
impl Unpin for FloatingPanelsPrefs
impl UnsafeUnpin for FloatingPanelsPrefs
impl UnwindSafe for FloatingPanelsPrefs
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