pub unsafe trait Params {
    // Required method
    fn layout(&self) -> Layout;
}
Expand description

§Safety

The ’layout` method should return constant, i.e. same value on every call.

Required Methods§

source

fn layout(&self) -> Layout

Implementors§

source§

impl Params for RtParams

source§

impl<const LAYOUT_SIZE: usize, const LAYOUT_ALIGN: usize> Params for CtParams<LAYOUT_SIZE, LAYOUT_ALIGN>