Skip to main content

Module references

Module references 

Source
Expand description

Reference conversions (borrowed views into R vectors).

Provides zero-copy access to R vector data via 'static references. The lifetime is technically a lie — the data lives as long as R doesn’t GC it.

Covers: &T, &mut T, Option<&T>, Vec<&T>, Vec<&[T]>, and mutable variants for all RNativeType types.

Macros§

impl_ref_conversions_for 🔒