Remove missing_debug_implementations lint
This commit is contained in:
parent
89b7585465
commit
5796ba272e
70 changed files with 0 additions and 90 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -77,7 +77,6 @@ use crate::core::{
|
|||
/// }
|
||||
/// ```
|
||||
/// 
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Checkbox<
|
||||
'a,
|
||||
Message,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -130,7 +130,6 @@ use std::fmt::Display;
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct ComboBox<
|
||||
'a,
|
||||
T,
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ use crate::core::{
|
|||
/// .into()
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Container<
|
||||
'a,
|
||||
Message,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ use crate::core::{
|
|||
/// })).into()
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Column<
|
||||
'a,
|
||||
Key,
|
||||
|
|
|
|||
|
|
@ -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>,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ use crate::core::{
|
|||
};
|
||||
|
||||
/// Emit messages on mouse events.
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct MouseArea<
|
||||
'a,
|
||||
Message,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -147,7 +147,6 @@ const THICKNESS_RATIO: f32 = 25.0;
|
|||
/// .into()
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct PaneGrid<
|
||||
'a,
|
||||
Message,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -142,7 +142,6 @@ use std::f32;
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct PickList<
|
||||
'a,
|
||||
T,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ use crate::core::{
|
|||
/// rule(2).into()
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Rule<'a, Theme = crate::Theme>
|
||||
where
|
||||
Theme: Catalog,
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ pub use operation::scrollable::{AbsoluteOffset, RelativeOffset};
|
|||
/// ]).into()
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Scrollable<
|
||||
'a,
|
||||
Message,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -80,7 +80,6 @@ use std::ops::RangeInclusive;
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Slider<'a, T, Message, Theme = crate::Theme>
|
||||
where
|
||||
Theme: Catalog,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ use crate::core::{
|
|||
};
|
||||
|
||||
/// A bunch of [`Rich`] text.
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Rich<
|
||||
'a,
|
||||
Link,
|
||||
|
|
|
|||
|
|
@ -93,7 +93,6 @@ pub use text::editor::{Action, Edit, Line, LineEnding, Motion};
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct TextEditor<
|
||||
'a,
|
||||
Highlighter,
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@ use crate::core::{
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct TextInput<
|
||||
'a,
|
||||
Message,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@ use crate::core::{
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Toggler<
|
||||
'a,
|
||||
Message,
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ use crate::core::{
|
|||
/// ).into()
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Tooltip<
|
||||
'a,
|
||||
Message,
|
||||
|
|
|
|||
|
|
@ -84,7 +84,6 @@ use crate::core::{
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct VerticalSlider<'a, T, Message, Theme = crate::Theme>
|
||||
where
|
||||
Theme: Catalog,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue