Docs.rs
  • hooks-1.0.0-alpha.4
    • hooks 1.0.0-alpha.4
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • EqualMa
    • Dependencies
      • hooks-core ^1.0.0-alpha.1 normal
      • hooks-derive ^1.0.0-alpha.2 normal
      • pin-project-lite ^0.2.9 normal
      • smallvec ^1.10.0 normal
      • futures-lite ^1.12.0 dev
    • Versions
    • 0% of the crate is documented
  • Go to latest stable release
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate hooks

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
  • Type Definitions
  • Attribute Macros
?
Change settings

List of all items

Structs

  • Effect
  • EffectOnNextPoll
  • EffectWith
  • LazyPinned
  • LazyPinnedWith
  • Ref
  • RefWith
  • SharedRef
  • SharedState
  • SharedStateData
  • SharedStateEq
  • SharedStateEqData
  • SharedStateEqWith
  • SharedStateWith
  • StagingStates
  • State
  • StateEq
  • StateEqWith
  • StateUpdater
  • StateWith

Enums

  • NewState
  • NewStateFn

Traits

  • EffectCleanup
  • EffectFor
  • EffectForNoneDependency
  • Hook
  • HookBounds
  • HookExt
  • HookLifetime
  • HookPollNextUpdate
  • HookPollNextUpdateExt
  • RunHook
  • ShareValue

Attribute Macros

  • hook

Functions

  • use_effect
  • use_effect_on_next_poll
  • use_effect_with
  • use_lazy_pinned
  • use_lazy_pinned_with
  • use_ref
  • use_shared_state
  • use_shared_state_eq
  • use_shared_state_eq_with
  • use_shared_state_with
  • use_state
  • use_state_n
  • use_state_n_with
  • use_state_with

Type Definitions

  • NewStateDynMutator
  • NewStateDynReplacer
  • NewStateDynReplacerMaybe

Constants

  • STAGING_STATES_DEFAULT_STACK_COUNT