Crate koto_runtime

source ·
Expand description

Contains the runtime and core library for the Koto language

Re-exports§

Modules§

  • The core library for the Koto language
  • A collection of useful items to make it easier to work with koto_runtime

Macros§

  • Makes a Ptr, with support for casting to trait objects
  • Makes a PtrMut, with support for casting to trait objects
  • Creates a crate::Error from a message (with format-like behaviour), wrapped in Err

Structs§

Enums§

Traits§

  • A trait for defining how objects should behave when copied in the Koto runtime
  • A trait that allows objects to support ‘.’ lookups
  • A trait used for file-like-things in Koto
  • A trait for native functions used by the Koto runtime
  • The trait used to implement iterators in Koto
  • A trait for implementing objects that can be added to the Koto runtime
  • A trait that defines the read operations of a KotoFile
  • Types that can be transferred across thread boundaries.
  • Types for which it is safe to share references between threads.
  • A trait for specifying a Koto object’s type
  • A trait that defines the write operations of a KotoFile
  • The trait used by the ‘module imported’ callback mechanism

Functions§

Type Aliases§

  • The hasher used throughout the Koto runtime
  • A mutable pointer to a value in allocated memory
  • The Result type used by the Koto Runtime
  • The underlying Vec type used by KList