pub struct NativeThemeBridge {
pub name: String,
pub mode: ColorMode,
pub resolved: ResolvedTheme,
pub reduce_transparency: bool,
pub reduce_motion: bool,
pub high_contrast: bool,
}Expand description
A Qt snapshot resolved through native-theme, ready for framework connectors.
Fields§
§name: StringDisplay name for the detected theme.
mode: ColorModeLight or dark mode inferred from the effective window background.
resolved: ResolvedThemeFully populated theme accepted by native_theme_gpui::to_theme.
reduce_transparency: boolWhether transparent effects should be reduced.
reduce_motion: boolWhether the user requested reduced motion.
high_contrast: boolWhether the user requested increased contrast.
Trait Implementations§
Source§impl Clone for NativeThemeBridge
impl Clone for NativeThemeBridge
Auto Trait Implementations§
impl Freeze for NativeThemeBridge
impl RefUnwindSafe for NativeThemeBridge
impl Send for NativeThemeBridge
impl Sync for NativeThemeBridge
impl Unpin for NativeThemeBridge
impl UnsafeUnpin for NativeThemeBridge
impl UnwindSafe for NativeThemeBridge
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