Module pax_runtime::api

source ·

Modules§

Macros§

Structs§

Enums§

Traits§

  • Marker trait. Implement only for types that are not part of PaxValue, but need to be stored inside a PaxAny. If they are part of pax value, instead implement CoercionRules manually, or using the default impl macro as seen in coercion_impls.rs
  • Marker trait that needs to be implemented for a struct for insertion and deletion in a store NOTE: Stored objects need to be UNIQUE for any given stack. Do not insert values with types that could potentially be used in another use case, instead create a local type only used for a single purpose
  • This trait is implemented by all types that has a bultin equivalent representation (see to_from_impls module) This is NOT responsible for coercing between types, but returns an err in all cases where the underlying type is not exactly what is expected

Functions§