pub struct PlatformIconLoader;Expand description
An icon loader for a platform that never shows an icon. The platform
registers PlatformIconLoaderStub, as
the reference does; this class is kept as the reference has it.
Trait Implementations§
Source§impl Default for PlatformIconLoader
impl Default for PlatformIconLoader
Source§impl IPlatformIconLoader for PlatformIconLoader
impl IPlatformIconLoader for PlatformIconLoader
Source§fn load_icon_from_file(
&self,
file_name: &str,
) -> Result<Rc<dyn IWindowIconImpl>>
fn load_icon_from_file( &self, file_name: &str, ) -> Result<Rc<dyn IWindowIconImpl>>
Loads an icon from a file.
Source§fn load_icon_from_stream(
&self,
stream: &mut dyn Read,
) -> Result<Rc<dyn IWindowIconImpl>>
fn load_icon_from_stream( &self, stream: &mut dyn Read, ) -> Result<Rc<dyn IWindowIconImpl>>
Loads an icon from a stream.
Source§fn load_icon_from_bitmap(
&self,
bitmap: Arc<SharedBitmapImpl>,
) -> Rc<dyn IWindowIconImpl>
fn load_icon_from_bitmap( &self, bitmap: Arc<SharedBitmapImpl>, ) -> Rc<dyn IWindowIconImpl>
Creates an icon from a bitmap.
Auto Trait Implementations§
impl Freeze for PlatformIconLoader
impl RefUnwindSafe for PlatformIconLoader
impl Send for PlatformIconLoader
impl Sync for PlatformIconLoader
impl Unpin for PlatformIconLoader
impl UnsafeUnpin for PlatformIconLoader
impl UnwindSafe for PlatformIconLoader
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