iced-yoda/web/src/widget
Liam Murphy 1d85b6e887
feat(web): Support in-memory image data
I had to create two methods which basically do the same thing, `from_memory` and `from_slice`, but `from_memory` takes ownership of the bytes to be compatible with `iced_native`.

Also, `Data` is incompatible, because if I stored the bytes in `Data` and created a new object URL every render, it would have caused a memory leak because bumpalo doesn't call destructors and there'd be no way to call URL.revokeObjectUrl on it. It's also more efficient this way.
2021-03-21 14:36:06 +11:00
..
button.rs Allow dead code explicitly in iced_web 2021-02-16 00:03:20 +01:00
checkbox.rs Allow dead code explicitly in iced_web 2021-02-16 00:03:20 +01:00
column.rs Use recently stabilized intra-doc links 2020-11-26 02:05:43 +01:00
container.rs Allow dead code explicitly in iced_web 2021-02-16 00:03:20 +01:00
image.rs feat(web): Support in-memory image data 2021-03-21 14:36:06 +11:00
progress_bar.rs Use recently stabilized intra-doc links 2020-11-26 02:05:43 +01:00
radio.rs Allow dead code explicitly in iced_web 2021-02-16 00:03:20 +01:00
row.rs Use recently stabilized intra-doc links 2020-11-26 02:05:43 +01:00
scrollable.rs Allow dead code explicitly in iced_web 2021-02-16 00:03:20 +01:00
slider.rs Allow dead code explicitly in iced_web 2021-02-16 00:03:20 +01:00
space.rs Use recently stabilized intra-doc links 2020-11-26 02:05:43 +01:00
text.rs Use recently stabilized intra-doc links 2020-11-26 02:05:43 +01:00
text_input.rs Use recently stabilized intra-doc links 2020-11-26 02:05:43 +01:00