Module raytracing_n::utils

source ·
Expand description

utils function and structures

Modules

  • module containing generic number.

Structs

  • A structure that guarenteen that the stored that is not negative, i.e >=0.
  • A structure that guarenteen that the stored that is normed.
  • A structure that guarantee that the stored that is positive, i.e >0.

Enums

  • Error type return by set type functions.
  • A type that can never be (safely) initialized. This is temporary, until never is accepted into stable rust.

Traits

  • A trait to get a norm a a element.