1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

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

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
}