Docs.rs
  • sweet_web-0.4.1
    • sweet_web 0.4.1
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • mrchantey
    • Dependencies
      • anyhow ^1 normal
      • console_error_panic_hook ^0.1 normal
      • extend ^1 normal
      • js-sys ^0.3 normal
      • sweet_utils ^0.4.1 normal
      • wasm-bindgen =0.2.100 normal
      • wasm-bindgen-futures ^0.4 normal
      • web-sys ^0.3 normal
      • sweet_test ^0.4.1 dev
    • Versions
    • 7.65% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

sweet_web0.4.1

  • All Items

Crate Items

  • Modules
  • Structs
  • Traits
  • Functions

Crate sweet_web

Source

Modules§

animation_frame
array
closure
context_menu
document
document_interaction_listener
element
fetch
file
future_timeout
history
html_event_listener
html_event_waiter
iframe
interval
lifecycle
location
log_buffer
log_filter
loop_utils
poll
prelude
replace_func
resize_listener
response
result
search_params
set_panic_hook
time_utils

Structs§

AnimationFrame
History
HtmlEventListener
Event listener that unsubscribes on drop. It stores an Rc<Inner> so can be safely cloned.
HtmlEventListenerInner
HtmlEventWaiter
HtmlEventWaiterInstance
Interval
Location
LogBuffer
LogFilter
ReplaceFunc
ResizeListener
Resize listener When using with leptos, ensure it is moved to [on_cleanup] to avoid being dropped
SearchParams

Traits§

ArrayExt
ClosureFnMutT1T2Ext
ClosureFnMutT2Ext
DocumentExt
HtmlElementExt
HtmlIFrameElementExt
ResponseExt
ResultTJsValueExt

Functions§

await_document_interaction
block_forever
download_binary
download_blob
download_text
fetch
fetch_bytes
fetch_text
forget
forget_func
future_timeout
loop_forever
path_name
performance_now
poll_ok
poll_ok_with_timeout
prevent_context_menu
Leaks
run_on_timeout
set_panic_hook
timeout_reject
Rejects a promise after a given duration
upload_bytes
upload_file
upload_text
wait_for_16_millis
wait_for_millis