mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Add docs to Frame::new (#5670)
* [x] I have followed the instructions in the PR template
This commit is contained in:
@@ -163,6 +163,9 @@ impl Frame {
|
|||||||
shadow: Shadow::NONE,
|
shadow: Shadow::NONE,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/// No colors, no margins, no border.
|
||||||
|
///
|
||||||
|
/// Same as [`Frame::NONE`].
|
||||||
pub const fn new() -> Self {
|
pub const fn new() -> Self {
|
||||||
Self::NONE
|
Self::NONE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user