Struct artichoke_backend::value::Value[][src]

pub struct Value(_);
Expand description

Boxed Ruby value in the Artichoke interpreter.

Implementations

Create a new, empty Ruby value.

Alias for Value::default.

Create a nil Ruby Value.

The sys::mrb_value that this Value wraps.

Whether a value is an interpreter-only variant not exposed to Ruby.

Some type tags like MRB_TT_UNDEF are internal to the mruby VM and manipulating them with the sys API is unspecified and may result in a segfault.

After extracting a sys::mrb_value from the interpreter, check to see if the value is unreachable a Fatal exception.

See: mruby#4460.

Return whether this object is unreachable by any GC roots.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Performs the infallible conversion.

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Extends a collection with the contents of an iterator. Read more

🔬 This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

🔬 This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Extract the inner sys::mrb_value from this Value.

Construct a new Value from a sys::mrb_value.

Creates a value from an iterator. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Error type for failed conversions.

Performs the fallible conversion. Read more

Concrete type for Artichoke interpreter.

Concrete type for arguments passed to funcall.

Concrete type for results from funcall.

Concrete type for blocks passed to funcall.

Concrete error type for funcall errors.

Call a method on this Value with arguments and an optional block. Read more

Call #freeze on this Value. Read more

Call #frozen? on this Value.

Call #inspect on this Value. Read more

Whether self is nil

Whether self responds to a method. Read more

Call #to_s on this Value. Read more

Return this values Rust-mapped type tag.

Consume self and try to convert self to type T using a TryConvert conversion. Read more

Consume self and try to convert self to type T using a TryConvertMut conversion. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.