Skip to main content

RCoerceEnvironment

Trait RCoerceEnvironment 

Source
pub trait RCoerceEnvironment {
    // Required method
    fn as_environment(&self) -> Result<SEXP, RCoerceError>;
}
Expand description

Trait for types that can be coerced to environment via as.environment().

The result should be an R environment.

Required Methods§

Source

fn as_environment(&self) -> Result<SEXP, RCoerceError>

Convert to an R environment.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§