pub enum NativeIcon {
Image {
width: u32,
height: u32,
},
Named(String),
}Variants§
Image
An image this large: in pixels, or in points on AppKit, which keeps a copy at the screen’s scale (a PNG without a resolution has as many points as pixels).
Named(String)
The icon theme’s icon of this name.
Trait Implementations§
Source§impl Clone for NativeIcon
impl Clone for NativeIcon
Source§impl Debug for NativeIcon
impl Debug for NativeIcon
Source§impl PartialEq for NativeIcon
impl PartialEq for NativeIcon
impl StructuralPartialEq for NativeIcon
Auto Trait Implementations§
impl Forget for NativeIcon
impl Freeze for NativeIcon
impl RefUnwindSafe for NativeIcon
impl Send for NativeIcon
impl Sync for NativeIcon
impl Unpin for NativeIcon
impl UnsafeUnpin for NativeIcon
impl UnwindSafe for NativeIcon
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