pub struct PlatformIconLoaderStub;Expand description
The icon loader of a platform without window icons: an icon keeps the bytes it was loaded from, so that it can be saved.
Trait Implementations§
Source§impl Default for PlatformIconLoaderStub
impl Default for PlatformIconLoaderStub
Source§impl IPlatformIconLoader for PlatformIconLoaderStub
impl IPlatformIconLoader for PlatformIconLoaderStub
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 PlatformIconLoaderStub
impl RefUnwindSafe for PlatformIconLoaderStub
impl Send for PlatformIconLoaderStub
impl Sync for PlatformIconLoaderStub
impl Unpin for PlatformIconLoaderStub
impl UnsafeUnpin for PlatformIconLoaderStub
impl UnwindSafe for PlatformIconLoaderStub
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