Module koto_runtime::prelude

source ·
Expand description

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

Functions§

Type Aliases§