Remove logging large bytes arrays

This commit is contained in:
Cory Forsstrom 2023-02-23 09:31:48 -08:00
parent 666f3cd143
commit 07a7681dba
No known key found for this signature in database
GPG key ID: 1DFE170A4415C9F5
6 changed files with 49 additions and 6 deletions

View file

@ -6,9 +6,15 @@ use std::io;
use std::path::Path;
/// The icon of a window.
#[derive(Debug, Clone)]
#[derive(Clone)]
pub struct Icon(iced_winit::winit::window::Icon);
impl fmt::Debug for Icon {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_tuple("Icon").field(&format_args!("_")).finish()
}
}
impl Icon {
/// Creates an icon from 32bpp RGBA data.
pub fn from_rgba(