struct Held {
element: HtmlImageElement,
url: String,
load: Rc<Cell<Load>>,
_handlers: [Closure<dyn FnMut()>; 2],
}Expand description
One registered asset: the element the browser decodes into, the object URL backing it, and how far it has got.
Fields§
§element: HtmlImageElement§url: String§load: Rc<Cell<Load>>§_handlers: [Closure<dyn FnMut()>; 2]The handlers that move load along, kept alive for as long as the
element they are bound to.
Implementations§
Auto Trait Implementations§
impl Freeze for Held
impl !RefUnwindSafe for Held
impl !Send for Held
impl !Sync for Held
impl Unpin for Held
impl UnsafeUnpin for Held
impl !UnwindSafe for Held
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more