Package-level declarations

Types

Link copied to clipboard

An error that can be returned from Rust code.

Link copied to clipboard
interface Disposable
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

Trigger a hard abort inside the Rust code.

Link copied to clipboard

Trigger an error inside the Rust code.

Link copied to clipboard

Trigger a panic inside the Rust code.

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