Skip to main content

Owned

Trait Owned 

Source
pub trait Owned: Buffer {
    type Alloc: Allocator;
}
Expand description

Buffer trait for owned arrays.

Required Associated Types§

Source

type Alloc: Allocator

Allocator type.

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<T, S: ConstShape, A: Allocator> Owned for StaticBuffer<T, S, A>

Source§

type Alloc = A

Source§

impl<T, S: Shape, A: Allocator> Owned for DynBuffer<T, S, A>

Source§

type Alloc = A