pub struct IconLoaderStub;Expand description
The icon loader of a platform without window icons.
Trait Implementations§
Source§impl Default for IconLoaderStub
impl Default for IconLoaderStub
Source§impl IPlatformIconLoader for IconLoaderStub
impl IPlatformIconLoader for IconLoaderStub
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 IconLoaderStub
impl RefUnwindSafe for IconLoaderStub
impl Send for IconLoaderStub
impl Sync for IconLoaderStub
impl Unpin for IconLoaderStub
impl UnsafeUnpin for IconLoaderStub
impl UnwindSafe for IconLoaderStub
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