Expand description
Types for working with Ruby’s VALUE type, representing all objects, and ‘immediate’ values such as Fixnum.
Structs§
- Protects a Ruby Value from the garbage collector.
- A Value known to be a fixnum, Ruby’s internal representation of small integers.
- A Value known to be a flonum, Ruby’s internal representation of lower precision floating point numbers.
- The internal value of a Ruby symbol.
- Lazily initialise a Ruby value so it can be assigned to a
static
. - Ruby’s
false
value. - Ruby’s
nil
value. - Ruby’s
true
value. - A placeholder value that represents an undefined value. Not exposed to Ruby level code.
- A static Ruby symbol that will live for the life of the program and never be garbage collected.
- Ruby’s
VALUE
type, which can represent any Ruby object.
Constants§
- QFALSEDeprecatedRuby’s
false
value. - QNILDeprecatedRuby’s
nil
value. - QTRUEDeprecatedRuby’s
true
value. - A placeholder value that represents an undefined value. Not exposed to Ruby level code.
Traits§
- Helper trait for
Ruby::get_inner_ref
. - Helper trait for
Ruby::get_inner
. - Conversions from Rust types into
Id
. - Marker trait for types that have the same representation as
Value
.
Functions§
- Returns Ruby’s
false
value. - Returns Ruby’s
nil
value. - Returns Ruby’s
true
value.