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
TrueClassandFalseClass- 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 withLambdaas 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 ... endblocks. 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