Modules
Macros
- Creates Rust structure for new Ruby class
- eval(string [, binding [, filename [,lineno]]]) → obj
- Creates callbacks for Ruby methods
- Creates Rust structure for new Ruby module
- Creates unsafe callbacks for Ruby methods
- Makes a Rust struct wrappable for Ruby objects.
Structs
- Representation of any Ruby object while its type is unknown
Array
Integer
TrueClass
andFalseClass
Class
CodepointIterator
Enumerator
Fixnum
Float
- Garbage collection
Hash
Integer
Module
NilClass
Proc
(works withLambda
as well)String
Symbol
Thread
- Virtual Machine and helpers
Traits
- Descendants of class Exception are used to communicate between Kernel#raise and rescue statements in
begin ... end
blocks. Exception objects carry information about the exception – its type (the exception’s class name), an optional descriptive string, and optional traceback information. Exception subclasses may add additional information like NameError#name. Object
- Implicit conversion or
nil
. - Interface for safe conversions between types