[][src]Module artichoke_backend::prelude

A "prelude" for users of the artichoke-backend crate.

This prelude is similar to the standard library's prelude in that you'll almost always want to import its entire contents, but unlike the standard library's prelude, you'll have to do so manually:

use artichoke_backend::prelude::*;

The prelude may grow over time as additional items see ubiquitous use.

Re-exports

pub use crate::exception::raise;
pub use crate::exception::Exception;
pub use crate::exception::RubyException;
pub use crate::extn::core::exception::Exception as _;
pub use crate::extn::core::exception::*;
pub use crate::gc::MrbGarbageCollection;
pub use crate::release_metadata::ReleaseMetadata;

Modules

core

A "prelude" for users of the artichoke-core crate.

Structs

Artichoke

Interpreter instance.

Guard

Interpreter guard that prepares an Artichoke to re-enter an FFI boundary.

Functions

interpreter

Create and initialize an Artichoke interpreter.

interpreter_with_config

Create and initialize an Artichoke interpreter.