Module magnus::method

source ·
Expand description

Traits for exposing Rust functions as Ruby methods.

Traits

  • Trait marking types that can be returned to Ruby from a block.
  • Trait marking types that can be returned to Ruby from a library init function.
  • Trait implemented for function pointers that can be registed as Ruby methods.
  • Trait marking types that can be returned to Ruby.