Remove missing_debug_implementations lint

This commit is contained in:
Héctor Ramón Jiménez 2025-09-12 05:25:09 +02:00
parent 89b7585465
commit 5796ba272e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
70 changed files with 0 additions and 90 deletions

View file

@ -68,7 +68,6 @@ use crate::core::{
/// button("I am disabled!").into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Button<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer>
where
Renderer: crate::core::Renderer,

View file

@ -77,7 +77,6 @@ use crate::core::{
/// }
/// ```
/// ![Checkbox drawn by `iced_wgpu`](https://github.com/iced-rs/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/checkbox.png?raw=true)
#[allow(missing_debug_implementations)]
pub struct Checkbox<
'a,
Message,

View file

@ -32,7 +32,6 @@ use crate::core::{
/// ].into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Column<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer>
{
spacing: f32,

View file

@ -130,7 +130,6 @@ use std::fmt::Display;
/// }
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct ComboBox<
'a,
T,

View file

@ -56,7 +56,6 @@ use crate::core::{
/// .into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Container<
'a,
Message,

View file

@ -13,7 +13,6 @@ use crate::core::{
};
/// A widget that can make its contents float over other widgets.
#[allow(missing_debug_implementations)]
pub struct Float<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer>
where
Theme: Catalog,

View file

@ -10,7 +10,6 @@ use crate::core::{
};
/// A container that distributes its contents on a responsive grid.
#[allow(missing_debug_implementations)]
pub struct Grid<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer> {
spacing: f32,
columns: Constraint,

View file

@ -54,7 +54,6 @@ pub fn viewer<Handle>(handle: Handle) -> Viewer<Handle> {
/// }
/// ```
/// <img src="https://github.com/iced-rs/iced/blob/9712b319bb7a32848001b96bd84977430f14b623/examples/resources/ferris.png?raw=true" width="300">
#[allow(missing_debug_implementations)]
pub struct Image<Handle = image::Handle> {
handle: Handle,
width: Length,

View file

@ -10,7 +10,6 @@ use crate::core::{
};
/// A frame that displays an image with the ability to zoom in/out and pan.
#[allow(missing_debug_implementations)]
pub struct Viewer<Handle> {
padding: f32,
width: Length,

View file

@ -29,7 +29,6 @@ use crate::core::{
/// })).into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Column<
'a,
Key,

View file

@ -27,7 +27,6 @@ use std::rc::Rc;
/// A widget that only rebuilds its contents when necessary.
#[cfg(feature = "lazy")]
#[allow(missing_debug_implementations)]
pub struct Lazy<'a, Message, Theme, Renderer, Dependency, View> {
dependency: Dependency,
view: Box<dyn Fn(&Dependency) -> View + 'a>,

View file

@ -11,7 +11,6 @@ use crate::core::{
};
/// Emit messages on mouse events.
#[allow(missing_debug_implementations)]
pub struct MouseArea<
'a,
Message,

View file

@ -17,7 +17,6 @@ use crate::core::{Element, Shell, Widget};
use crate::scrollable::{self, Scrollable};
/// A list of selectable options.
#[allow(missing_debug_implementations)]
pub struct Menu<
'a,
'b,

View file

@ -147,7 +147,6 @@ const THICKNESS_RATIO: f32 = 25.0;
/// .into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct PaneGrid<
'a,
Message,

View file

@ -13,7 +13,6 @@ use crate::pane_grid::{Draggable, TitleBar};
/// The content of a [`Pane`].
///
/// [`Pane`]: super::Pane
#[allow(missing_debug_implementations)]
pub struct Content<
'a,
Message,

View file

@ -4,7 +4,6 @@ use crate::core::{self, Element};
/// The controls of a [`Pane`].
///
/// [`Pane`]: super::Pane
#[allow(missing_debug_implementations)]
pub struct Controls<
'a,
Message,

View file

@ -13,7 +13,6 @@ use crate::pane_grid::controls::Controls;
/// The title bar of a [`Pane`].
///
/// [`Pane`]: super::Pane
#[allow(missing_debug_implementations)]
pub struct TitleBar<
'a,
Message,

View file

@ -142,7 +142,6 @@ use std::f32;
/// }
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct PickList<
'a,
T,

View file

@ -52,7 +52,6 @@ use crate::core::{
/// .into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Pin<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer>
where
Renderer: core::Renderer,

View file

@ -52,7 +52,6 @@ use std::ops::RangeInclusive;
/// progress_bar(0.0..=100.0, state.progress).into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct ProgressBar<'a, Theme = crate::Theme>
where
Theme: Catalog,

View file

@ -60,7 +60,6 @@ const QUIET_ZONE: usize = 2;
/// qr_code(&state.data).into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct QRCode<'a, Theme = crate::Theme>
where
Theme: Catalog,

View file

@ -129,7 +129,6 @@ use crate::core::{
/// column![a, b, c, all].into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Radio<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer>
where
Theme: Catalog,

View file

@ -14,7 +14,6 @@ use crate::space_x;
///
/// A [`Responsive`] widget will always try to fill all the available space of
/// its parent.
#[allow(missing_debug_implementations)]
pub struct Responsive<
'a,
Message,

View file

@ -32,7 +32,6 @@ use crate::core::{
/// ].into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Row<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer> {
spacing: f32,
padding: Padding,
@ -361,7 +360,6 @@ where
/// obtain a [`Row`] that wraps its contents.
///
/// The original alignment of the [`Row`] is preserved per row wrapped.
#[allow(missing_debug_implementations)]
pub struct Wrapping<
'a,
Message,

View file

@ -44,7 +44,6 @@ use crate::core::{
/// rule(2).into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Rule<'a, Theme = crate::Theme>
where
Theme: Catalog,

View file

@ -62,7 +62,6 @@ pub use operation::scrollable::{AbsoluteOffset, RelativeOffset};
/// ]).into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Scrollable<
'a,
Message,

View file

@ -15,7 +15,6 @@ use crate::core::{
/// A widget that can generate messages when its content pops in and out of view.
///
/// It can even notify you with anticipation at a given distance!
#[allow(missing_debug_implementations)]
pub struct Sensor<
'a,
Key,

View file

@ -22,7 +22,6 @@ pub use primitive::{Primitive, Storage};
///
/// Must be initialized with a [`Program`], which describes the internal widget state & how
/// its [`Program::Primitive`]s are drawn.
#[allow(missing_debug_implementations)]
pub struct Shader<Message, P: Program<Message>> {
width: Length,
height: Length,

View file

@ -80,7 +80,6 @@ use std::ops::RangeInclusive;
/// }
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Slider<'a, T, Message, Theme = crate::Theme>
where
Theme: Catalog,

View file

@ -17,7 +17,6 @@ use crate::core::{
///
/// Keep in mind that too much layering will normally produce bad UX as well as
/// introduce certain rendering overhead. Use this widget sparingly!
#[allow(missing_debug_implementations)]
pub struct Stack<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer>
{
width: Length,

View file

@ -51,7 +51,6 @@ pub use crate::core::svg::Handle;
/// svg("tiger.svg").into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Svg<'a, Theme = crate::Theme>
where
Theme: Catalog,

View file

@ -49,7 +49,6 @@ where
}
/// A grid-like visual representation of data distributed in columns and rows.
#[allow(missing_debug_implementations)]
pub struct Table<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer>
where
Theme: Catalog,
@ -630,7 +629,6 @@ where
}
/// A vertical visualization of some data with a header.
#[allow(missing_debug_implementations)]
pub struct Column<
'a,
'b,

View file

@ -13,7 +13,6 @@ use crate::core::{
};
/// A bunch of [`Rich`] text.
#[allow(missing_debug_implementations)]
pub struct Rich<
'a,
Link,

View file

@ -93,7 +93,6 @@ pub use text::editor::{Action, Edit, Line, LineEnding, Motion};
/// }
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct TextEditor<
'a,
Highlighter,

View file

@ -94,7 +94,6 @@ use crate::core::{
/// }
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct TextInput<
'a,
Message,

View file

@ -15,7 +15,6 @@ use crate::core::{
///
/// This widget can be useful to leverage multiple `Theme`
/// types in an application.
#[allow(missing_debug_implementations)]
pub struct Themer<'a, Message, Theme, Renderer = crate::Renderer>
where
Renderer: crate::core::Renderer,

View file

@ -76,7 +76,6 @@ use crate::core::{
/// }
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Toggler<
'a,
Message,

View file

@ -56,7 +56,6 @@ use crate::core::{
/// ).into()
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct Tooltip<
'a,
Message,

View file

@ -84,7 +84,6 @@ use crate::core::{
/// }
/// }
/// ```
#[allow(missing_debug_implementations)]
pub struct VerticalSlider<'a, T, Message, Theme = crate::Theme>
where
Theme: Catalog,