extendr_api::prelude

Trait DataMut

Source
pub unsafe trait DataMut: Data + RawDataMut { }
Expand description

Array representation trait.

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

Internal trait, see Data.

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> DataMut for CowRepr<'a, A>
where A: Clone,

Source§

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

Source§

impl<A> DataMut for OwnedArcRepr<A>
where A: Clone,

Source§

impl<A> DataMut for OwnedRepr<A>