pub struct IFrnPlatformSettings { /* private fields */ }Implementations§
Source§impl IFrnPlatformSettings
impl IFrnPlatformSettings
Sourcepub fn from_impl<T: IFrnPlatformSettingsImpl + 'static>(
value: T,
) -> ComPtr<IFrnPlatformSettings>
pub fn from_impl<T: IFrnPlatformSettingsImpl + 'static>( value: T, ) -> ComPtr<IFrnPlatformSettings>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn get_platform_theme(&self) -> FrnPlatformThemeVariant
pub fn get_platform_theme(&self) -> FrnPlatformThemeVariant
IFrnPlatformSettings::GetPlatformTheme
Sourcepub fn get_accent_color(&self) -> u32
pub fn get_accent_color(&self) -> u32
IFrnPlatformSettings::GetAccentColor
Sourcepub fn register_colors_change(&self, callback: Option<&IFrnActionCallback>)
pub fn register_colors_change(&self, callback: Option<&IFrnActionCallback>)
IFrnPlatformSettings::RegisterColorsChange
Sourcepub fn get_preferred_language(
&self,
) -> Result<Option<ComPtr<IFrnString>>, HResult>
pub fn get_preferred_language( &self, ) -> Result<Option<ComPtr<IFrnString>>, HResult>
IFrnPlatformSettings::GetPreferredLanguage
Sourcepub fn register_language_change(&self, callback: Option<&IFrnActionCallback>)
pub fn register_language_change(&self, callback: Option<&IFrnActionCallback>)
IFrnPlatformSettings::RegisterLanguageChange
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnPlatformSettings
impl Deref for IFrnPlatformSettings
Source§impl<T: IFrnPlatformSettingsImpl> ImplementedBy<T> for IFrnPlatformSettings
impl<T: IFrnPlatformSettingsImpl> ImplementedBy<T> for IFrnPlatformSettings
const VTBL: &'static IFrnPlatformSettingsVtbl
Source§impl Interface for IFrnPlatformSettings
impl Interface for IFrnPlatformSettings
type Vtbl = IFrnPlatformSettingsVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnPlatformSettings
impl !Sync for IFrnPlatformSettings
impl Freeze for IFrnPlatformSettings
impl RefUnwindSafe for IFrnPlatformSettings
impl Unpin for IFrnPlatformSettings
impl UnsafeUnpin for IFrnPlatformSettings
impl UnwindSafe for IFrnPlatformSettings
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more