componentized/directory

componentized:constants

interface dev

Create custom wasm components that export constant values.

interface u64 componentized:constants/u64@0.1.2-dev

Constants for the u64 unsigned integer type.

Functions

functionmax: func() -> u64

u64 max value @value 18446744073709551615

functionmin: func() -> u64

u64 min value @value 0

functionbits: func() -> u32

The size of u64 in bits. @value 64

WIT

/// Constants for the `u64` unsigned integer type.
interface %u64 {
  /// u64 max value
  /// @value 18446744073709551615
  max: func() -> u64;

  /// u64 min value
  /// @value 0
  min: func() -> u64;

  /// The size of `u64` in bits.
  /// @value 64
  bits: func() -> u32;
}