pub struct AppIcon {
pub data: Bytes,
pub width: Option<f64>,
pub height: Option<f64>,
pub scale: Option<f64>,
}Expand description
Raw icon payload and scale metadata returned by CoreDevice.
Fields§
§data: BytesEncoded image bytes.
width: Option<f64>Logical icon width.
height: Option<f64>Logical icon height.
scale: Option<f64>Icon scale factor.
Trait Implementations§
impl StructuralPartialEq for AppIcon
Auto Trait Implementations§
impl !Freeze for AppIcon
impl RefUnwindSafe for AppIcon
impl Send for AppIcon
impl Sync for AppIcon
impl Unpin for AppIcon
impl UnsafeUnpin for AppIcon
impl UnwindSafe for AppIcon
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