Enum extendr_api::Rany[][src]

pub enum Rany<'a> {
Show 25 variants Null(&'a Robj), Symbol(&'a Symbol), Pairlist(&'a Pairlist), Function(&'a Function), Environment(&'a Environment), Promise(&'a Promise), Language(&'a Language), Special(&'a Primitive), Builtin(&'a Primitive), Rstr(&'a Rstr), Logicals(&'a Logicals), Integers(&'a Integers), Doubles(&'a Doubles), Complexes(&'a Robj), Strings(&'a Strings), Dot(&'a Robj), Any(&'a Robj), List(&'a List), Expressions(&'a Expressions), Bytecode(&'a Robj), ExternalPtr(&'a Robj), WeakRef(&'a Robj), Raw(&'a Raw), S4(&'a S4), Unknown(&'a Robj),
}
Expand description

Enum use to unpack R objects into their specialist wrappers.

Variants

Null(&'a Robj)

Tuple Fields

0: &'a Robj

Symbol(&'a Symbol)

Tuple Fields

0: &'a Symbol

Pairlist(&'a Pairlist)

Tuple Fields

0: &'a Pairlist

Function(&'a Function)

Tuple Fields

0: &'a Function

Environment(&'a Environment)

Tuple Fields

0: &'a Environment

Promise(&'a Promise)

Tuple Fields

0: &'a Promise

Language(&'a Language)

Tuple Fields

0: &'a Language

Special(&'a Primitive)

Tuple Fields

0: &'a Primitive

Builtin(&'a Primitive)

Tuple Fields

0: &'a Primitive

Rstr(&'a Rstr)

Tuple Fields

0: &'a Rstr

Logicals(&'a Logicals)

Tuple Fields

0: &'a Logicals

Integers(&'a Integers)

Tuple Fields

0: &'a Integers

Doubles(&'a Doubles)

Tuple Fields

0: &'a Doubles

Complexes(&'a Robj)

Tuple Fields

0: &'a Robj

Strings(&'a Strings)

Tuple Fields

0: &'a Strings

Dot(&'a Robj)

Tuple Fields

0: &'a Robj

Any(&'a Robj)

Tuple Fields

0: &'a Robj

List(&'a List)

Tuple Fields

0: &'a List

Expressions(&'a Expressions)

Tuple Fields

0: &'a Expressions

Bytecode(&'a Robj)

Tuple Fields

0: &'a Robj

ExternalPtr(&'a Robj)

Tuple Fields

0: &'a Robj

WeakRef(&'a Robj)

Tuple Fields

0: &'a Robj

Raw(&'a Raw)

Tuple Fields

0: &'a Raw

S4(&'a S4)

Tuple Fields

0: &'a S4

Unknown(&'a Robj)

Tuple Fields

0: &'a Robj

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.