pub struct WindowIcon { /* private fields */ }Expand description
Represents an icon for a window.
Implementations§
Source§impl WindowIcon
impl WindowIcon
Sourcepub fn from_bitmap(bitmap: &Bitmap) -> Rc<WindowIcon>
pub fn from_bitmap(bitmap: &Bitmap) -> Rc<WindowIcon>
Sourcepub fn from_stream(stream: &mut dyn Read) -> Result<Rc<WindowIcon>>
pub fn from_stream(stream: &mut dyn Read) -> Result<Rc<WindowIcon>>
Sourcepub fn platform_impl(&self) -> Rc<dyn IWindowIconImpl>
pub fn platform_impl(&self) -> Rc<dyn IWindowIconImpl>
The platform implementation of the icon (internal upstream: for the windowing classes).
Trait Implementations§
Source§impl MarkupTyped for WindowIcon
impl MarkupTyped for WindowIcon
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl !RefUnwindSafe for WindowIcon
impl !Send for WindowIcon
impl !Sync for WindowIcon
impl !UnwindSafe for WindowIcon
impl Freeze for WindowIcon
impl Unpin for WindowIcon
impl UnsafeUnpin for WindowIcon
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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