Add docs to `Frame::new` (#5670)

* [x] I have followed the instructions in the PR template
This commit is contained in:
lucasmerlin 2025-02-04 10:17:15 +01:00 committed by GitHub
parent b6aa897b9d
commit bac8ea09ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,9 @@ impl Frame {
shadow: Shadow::NONE,
};
/// No colors, no margins, no border.
///
/// Same as [`Frame::NONE`].
pub const fn new() -> Self {
Self::NONE
}