Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface Disposable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class ForeignBytes
Link copied to clipboard
Link copied to clipboard
object NoPointer

Used to instantiate an interface without an actual pointer, for fakes in tests, mostly.

Link copied to clipboard
open class RustBuffer
Link copied to clipboard

The equivalent of the *mut RustBuffer type. Required for callbacks taking in an out pointer.

Functions

Link copied to clipboard

Set the global error reporter. This is typically done early in startup.

Link copied to clipboard

Unset the global error reporter. This is typically done at shutdown for platforms that want to cleanup references like Desktop.

Link copied to clipboard
inline fun <T : Disposable?, R> T.use(block: (T) -> R): R