Skip to main content

ScratchOwnedAlloc

Trait ScratchOwnedAlloc 

Source
pub trait ScratchOwnedAlloc<B>
where B: Backend,
{ // Required method fn alloc(size: usize) -> Self; }
Expand description

Allocates a new crate::layouts::ScratchOwned of size aligned bytes.

Required Methods§

Source

fn alloc(size: usize) -> Self

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§