Struct plugger_ruby::Value [] [src]

pub struct Value(pub VALUE);

A Ruby value.

Methods

impl Value
[src]

[src]

Gets nil.

[src]

Gets a boolean value.

[src]

Gets the boolean true value.

[src]

Gets the boolean false value.

[src]

Creates a new symbol.

[src]

Creates a new String.

[src]

Creates a new Integer.

[src]

Creates a new Float.

[src]

Converts the value into a symbol.

[src]

Converts the value to a 64-bit signed integer.

[src]

Converts the value to a 64-bit unsigned integer.

[src]

Converts the value into a 64-bit float.

[src]

Gets the class.

[src]

Creates a nested class.

[src]

Creates a nested module.

[src]

The value of Object#to_s.

[src]

The value of Object#inspect.

[src]

Gets the name of the class of the object.

[src]

Checks if the value is nil.

[src]

Checks if the value is true.

[src]

Checks if the value is false.

[src]

Checks if the value is a String type.

[src]

Checks if the value is a regex.

[src]

Checks if the value is an Integer type.

[src]

Checks if the value is a complex number.

[src]

Checks if the value is a rational number.

[src]

Checks if the value is a symbol.

[src]

Checks if the value is a float.

[src]

Checks if the value is an array.

[src]

Checks if the value is a hash.

[src]

Checks if the value is an object.

[src]

Checks if the value is a class.

[src]

Checks if the value is a Struct.

[src]

Checks if the value is a module.

[src]

Ruby's version of '=='

[src]

Converts a Ruby String into a Rust String. Returns None if the value is not a Ruby String.

[src]

Calls a method with no args.

[src]

Sends a message to the value.

[src]

Gets the value of an instance variable by name. Returns nil if it doesn't exist.

[src]

Sets the value of an instance variable (or creates a new one).

Trait Implementations

impl Copy for Value
[src]

impl Clone for Value
[src]

[src]

impl Eq for Value
[src]

impl From<VALUE> for Value
[src]

[src]

impl PartialEq<Value> for Value
[src]

[src]

impl Debug for Value
[src]

[src]

Formats the value using the given formatter.

impl Display for Value
[src]

[src]