From bac8ea09ac696ff66432111c9b487b192c8e40bc Mon Sep 17 00:00:00 2001 From: lucasmerlin Date: Tue, 4 Feb 2025 10:17:15 +0100 Subject: [PATCH] Add docs to `Frame::new` (#5670) * [x] I have followed the instructions in the PR template --- crates/egui/src/containers/frame.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/egui/src/containers/frame.rs b/crates/egui/src/containers/frame.rs index abe1b8af..4386f8f8 100644 --- a/crates/egui/src/containers/frame.rs +++ b/crates/egui/src/containers/frame.rs @@ -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 }