I’m looking at this example from the wasm_bindgen repo: https://github.com/rustwasm/wasm-bindgen/blob/master/examples/request-animation-frame/src/lib.rs
And having trouble understanding this line: let _ = f.borrow_mut().take();
What is take() being called on? If I look at the docs, I don’t see
take() on RefCell (which I think is what borrow_mut() is returning)
More generally - is there a way on the docs site to see all the methods implemented for a given struct/enum, including those that are due to satisfying the various Traits?