mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
apply rustfmt
This commit is contained in:
parent
e6e81e846a
commit
f8d938a8af
24 changed files with 253 additions and 611 deletions
|
|
@ -1,18 +1,8 @@
|
|||
use gtk::Image;
|
||||
|
||||
pub fn new(
|
||||
visible : bool
|
||||
) -> Image
|
||||
{
|
||||
return Image::builder()
|
||||
|
||||
.icon_name(
|
||||
"view-pin-symbolic"
|
||||
)
|
||||
|
||||
.visible(
|
||||
visible
|
||||
)
|
||||
|
||||
.build();
|
||||
}
|
||||
pub fn new(visible: bool) -> Image {
|
||||
Image::builder()
|
||||
.icon_name("view-pin-symbolic")
|
||||
.visible(visible)
|
||||
.build()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue