pub struct ThemeIdentity {
pub style_name: String,
pub toolkit_version: String,
pub platform_backend: String,
pub platform_theme: Option<String>,
pub style_override: Option<String>,
}Expand description
Identity of the active Qt theme and platform backend.
Fields§
§style_name: StringName returned by the active QStyle.
toolkit_version: StringQt runtime version.
platform_backend: StringActive QPA platform plugin, such as wayland or xcb.
platform_theme: Option<String>QT_QPA_PLATFORMTHEME, when set in the environment.
style_override: Option<String>QT_STYLE_OVERRIDE, when set in the environment.
Trait Implementations§
Source§impl Clone for ThemeIdentity
impl Clone for ThemeIdentity
Source§impl Debug for ThemeIdentity
impl Debug for ThemeIdentity
Source§impl<'de> Deserialize<'de> for ThemeIdentity
impl<'de> Deserialize<'de> for ThemeIdentity
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 ThemeIdentity
impl PartialEq for ThemeIdentity
Source§impl Serialize for ThemeIdentity
impl Serialize for ThemeIdentity
impl StructuralPartialEq for ThemeIdentity
Auto Trait Implementations§
impl Freeze for ThemeIdentity
impl RefUnwindSafe for ThemeIdentity
impl Send for ThemeIdentity
impl Sync for ThemeIdentity
impl Unpin for ThemeIdentity
impl UnsafeUnpin for ThemeIdentity
impl UnwindSafe for ThemeIdentity
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