Modules§
Macros§
- class
- Creates Rust structure for new Ruby class
- eval
- eval(string [, binding [, filename [,lineno]]]) → obj
- methods
- Creates callbacks for Ruby methods
- module
- Creates Rust structure for new Ruby module
- unsafe_
methods - Creates unsafe callbacks for Ruby methods
- wrappable_
struct - Makes a Rust struct wrappable for Ruby objects.
Structs§
- AnyException
- AnyObject
- Representation of any Ruby object while its type is unknown
- Array
Array
- Binding
Integer
- Boolean
TrueClass
andFalseClass
- Class
Class
- Codepoint
Iterator CodepointIterator
- Encoding
- Enumerator
Enumerator
- Fixnum
Fixnum
- Float
Float
- GC
- Garbage collection
- Hash
Hash
- Integer
Integer
- Module
Module
- NilClass
NilClass
- Proc
Proc
(works withLambda
as well)- RString
String
- Symbol
Symbol
- Thread
Thread
- VM
- Virtual Machine and helpers
Traits§
- Encoding
Support - Exception
- 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
Object
- TryConvert
- Implicit conversion or
nil
. - Verified
Object - Interface for safe conversions between types