Type Alias ScalarCowBuffer

Source
pub type ScalarCowBuffer<'a> = ScalarBufferBase<ScalarCowBufferRepr<'a>>;
Expand description

CowBuffer

Like Cow, can be created from a ScalarSlice or ScalarBuffer.

See BufferBase.

Aliased Type§

pub struct ScalarCowBuffer<'a> { /* private fields */ }

Trait Implementations§

Source§

impl<'a, T: Scalar> From<BufferBase<CowBufferRepr<'a, T>>> for ScalarCowBuffer<'a>

Source§

fn from(buffer: CowBuffer<'a, T>) -> Self

Converts to this type from the input type.
Source§

impl From<ScalarBufferBase<ScalarBufferRepr>> for ScalarCowBuffer<'_>

Source§

fn from(buffer: ScalarBuffer) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ScalarBufferBase<ScalarSliceRepr<'a>>> for ScalarCowBuffer<'a>

Source§

fn from(slice: ScalarSlice<'a>) -> Self

Converts to this type from the input type.