mirror of
https://github.com/storytold/egui.git
synced 2026-11-22 18:41:52 +01:00
Add docs to Frame::new (#5670)
* [x] I have followed the instructions in the PR template
This commit is contained in:
1 parent
b6aa897b9d
commit
bac8ea09ac
1 file changed
+3
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user