Add docs to `Frame::new` (#5670)
* [x] I have followed the instructions in the PR template
This commit is contained in:
parent
b6aa897b9d
commit
bac8ea09ac
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue