Structs§
- BoxInto
Ruby Error - Failed to convert from Rust type to a boxed Ruby value.
- Heap
Allocated - Immediate
- Unbox
Ruby Error - Failed to convert from boxed Ruby value to a Rust type.
- Unboxed
Value Guard
Enums§
- Convert
OnError - Strategy to use for handling errors in
convert_type
. - Maybe
ToInt
Traits§
Functions§
- check_
string_ type - check_
to_ a - Fallible coercion of the given value to a Ruby
Array
ornil
via#to_a
. - check_
to_ ary - Fallible conversion of the given value to a Ruby
Array
ornil
via#to_ary
. - check_
to_ int - Fallible conversion of the given value to a Ruby
Integer
ornil
via#to_int
. - check_
to_ str - Fallible conversion of the given value to a Ruby
String
ornil
via#to_str
. - convert_
type - Attempt a fallible conversion of a Ruby value to a given type tag.
- float_
to_ int - Convert a
f64
to ani64
by rounding toward zero. - implicitly_
convert_ to_ int - Attempt to implicitly convert a
Value
to an integer. - implicitly_
convert_ ⚠to_ nilable_ string - Attempt to implicitly convert a
Value
to an optional byte slice (nilable RubyString
). - implicitly_
convert_ ⚠to_ spinoso_ string - Attempt to implicitly convert a
Value
to aspinoso_string::String
(RubyString
). - implicitly_
convert_ ⚠to_ string - Attempt to implicitly convert a
Value
to a byte slice (RubyString
). - maybe_
to_ int - Attempt a fallible conversion of the given value to
i64
. - to_a
- Fallible coercion of the given value to a Ruby
Array
via#to_a
. - to_ary
- Fallible conversion of the given value to a Ruby
Array
via#to_ary
. - to_i
- Fallible coercion of the given value to a Ruby
Integer
via#to_i
. - to_int
- Fallible conversion of the given value to a Ruby
Integer
via#to_int
. - to_str
- Fallible conversion of the given value to a Ruby
String
via#to_str
.