Docs.rs
  • sp-weights-5.0.0
    • sp-weights 5.0.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • github:paritytech:core-devs
    • parity-crate-owner
    • Dependencies
      • parity-scale-codec ^3.0.0 normal
      • impl-trait-for-tuples ^0.2.2 normal
      • scale-info ^2.1.1 normal
      • serde ^1.0.136 normal
      • smallvec ^1.8.0 normal
      • sp-arithmetic ^7.0.0 normal
      • sp-core ^8.0.0 normal
      • sp-debug-derive ^6.0.0 normal
      • sp-std ^6.0.0 normal
    • Versions
    • 58.62% of the crate is documented
  • Go to latest version
  • Platform
    • 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 sp_weights

  • Structs
  • Constants
  • Traits
  • Type Definitions
?
Change settings

List of all items

Structs

  • ConstantMultiplier
  • IdentityFee
  • OldWeight
  • RuntimeDbWeight
  • Weight
  • WeightMeter
  • WeightToFeeCoefficient

Traits

  • WeightToFee
  • WeightToFeePolynomial

Type Definitions

  • WeightToFeeCoefficients

Constants

  • constants::WEIGHT_PROOF_SIZE_PER_KB
  • constants::WEIGHT_PROOF_SIZE_PER_MB
  • constants::WEIGHT_REF_TIME_PER_MICROS
  • constants::WEIGHT_REF_TIME_PER_MILLIS
  • constants::WEIGHT_REF_TIME_PER_NANOS
  • constants::WEIGHT_REF_TIME_PER_SECOND