extendr_api::prelude

Trait Data

Source
pub unsafe trait Data: RawData { }
Expand description

Array representation trait.

For an array with elements that can be accessed with safe code.

Internal trait, see RawData.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, A> Data for CowRepr<'a, A>

Source§

impl<'a, A> Data for ViewRepr<&'a A>

Source§

impl<'a, A> Data for ViewRepr<&'a mut A>

Source§

impl<A> Data for OwnedArcRepr<A>

Source§

impl<A> Data for OwnedRepr<A>