Relative Content

Tag Archive for user-interfacerust

Pass value without cloning it to another view in Iced?

I have IpFetcher::Unregistered view where I fill form and at submit button press calling message Message::Register that will change my view from IpFetcher::Unregistered to IpFetcher::Registered. But I want to be able to see and change form’s field even at this view change (want it to look same). So even if Registered I’m still able to update the values and click submit button again. I’m doing it by cloning ref mut register_form from one view to another at update (message call). If it is once I would be able to clone it, but in next stages I want to do some loop stuffs, and cloning it whole time is not a good approach I think….

Pass value without cloning it to another view in Iced?

I have IpFetcher::Unregistered view where I fill form and at submit button press calling message Message::Register that will change my view from IpFetcher::Unregistered to IpFetcher::Registered. But I want to be able to see and change form’s field even at this view change (want it to look same). So even if Registered I’m still able to update the values and click submit button again. I’m doing it by cloning ref mut register_form from one view to another at update (message call). If it is once I would be able to clone it, but in next stages I want to do some loop stuffs, and cloning it whole time is not a good approach I think….

How can I create a transparent window without a titlebar in rust?

Is there a way to create a window without a titlebar and a transparent background in rust which covers the full screen and shows a text or something. And you should still be able to click your desktop Icons and use apps while the text or whatever still shows on screen.