Module artichoke_backend::convert
source · Structs
Failed to convert from Rust type to a boxed Ruby value.
Failed to convert from boxed Ruby value to a Rust type.
Enums
Strategy to use for handling errors in
convert_type
.Traits
Functions
Fallible coercion of the given value to a Ruby
Array
or nil
via #to_a
.Fallible conversion of the given value to a Ruby
Array
or nil
via
#to_ary
.Fallible conversion of the given value to a Ruby
Integer
or nil
via
#to_int
.Fallible conversion of the given value to a Ruby
String
or nil
via
#to_str
.Attempt a fallible conversion of a Ruby value to a given type tag.
Attempt to implicitly convert a
Value
to an integer.Attempt to implicitly convert a
Value
to an optional byte slice (nilable
Ruby String
).Attempt to implicitly convert a
Value
to a byte slice (Ruby String
).Attempt a fallible conversion of the given value to
i64
.Fallible coercion of the given value to a Ruby
Array
via #to_a
.Fallible conversion of the given value to a Ruby
Array
via #to_ary
.Fallible coercion of the given value to a Ruby
Integer
via #to_i
.Fallible conversion of the given value to a Ruby
Integer
via #to_int
.Fallible conversion of the given value to a Ruby
String
via #to_str
.