Debug for WindowAttributes

This commit is contained in:
Jonathan Johnson 2023-12-21 15:38:38 -08:00
parent 1e162ed8df
commit 8ca300682c
No known key found for this signature in database
GPG key ID: A66D6A34D6620579
2 changed files with 2 additions and 0 deletions

View file

@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `AsApplication` is a new trait that can be implemented to resolve to the `App`
type. This allows wrapper types to be written that hide the appit types.
- `WindowAttributes` now implement `Debug`.
## v0.1.1 (2023-12-18)

View file

@ -98,6 +98,7 @@ where
/// that `parent_window` accepts a [`Window`] rather than relying on raw window
/// handle.
#[allow(clippy::struct_excessive_bools)]
#[derive(Debug)]
pub struct WindowAttributes {
/// The inner size of the window.
pub inner_size: Option<Size>,