Trait rerun::external::ndarray::RawData

source ·
pub unsafe trait RawData: Sized {
    type Elem;
}
Expand description

Array representation trait.

For an array that meets the invariants of the ArrayBase type. This trait does not imply any ownership or lifetime; pointers to elements in the array may not be safe to dereference.

Note: RawData is not an extension interface at this point. Traits in Rust can serve many different roles. This trait is public because it is used as a bound on public methods.

Required Associated Types§

source

type Elem

The array element type.

Object Safety§

This trait is not object safe.

Implementors§

source§

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

§

type Elem = A

source§

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

§

type Elem = A

source§

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

§

type Elem = A

source§

impl<A> RawData for OwnedArcRepr<A>

§

type Elem = A

source§

impl<A> RawData for OwnedRepr<A>

§

type Elem = A

source§

impl<A> RawData for RawViewRepr<*const A>

§

type Elem = A

source§

impl<A> RawData for RawViewRepr<*mut A>

§

type Elem = A