Skip to main content

AsRaw

Trait AsRaw 

Source
pub trait AsRaw {
    // Required method
    fn as_raw(&self) -> Result<SEXP, AsCoerceError>;
}
Expand description

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

The result should be an R raw vector (RAWSXP).

Required Methods§

Source

fn as_raw(&self) -> Result<SEXP, AsCoerceError>

Convert to an R raw vector.

Implementors§