#[cfg(not(feature = "std"))]
extern crate alloc;
#[cfg(not(feature = "std"))]
use alloc::boxed::Box;
#[cfg(feature = "std")]
use std::boxed::Box;
use melinoe::MelinoeCell;
use super::storage::{ConstNodeTag, PinnedStorage};
pub type ConstNumaPinnedCell<'brand, const NODE_ID: u32, T> =
PinnedStorage<ConstNodeTag<NODE_ID>, MelinoeCell<'brand, T>>;
pub type ConstNumaPinnedCellRef<'a, 'brand, const NODE_ID: u32, T> =
PinnedStorage<ConstNodeTag<NODE_ID>, &'a MelinoeCell<'brand, T>>;
pub type ConstNumaPinnedSlice<'brand, const NODE_ID: u32, T> =
PinnedStorage<ConstNodeTag<NODE_ID>, Box<[MelinoeCell<'brand, T>]>>;
pub type ConstNumaPinnedSliceRef<'a, 'brand, const NODE_ID: u32, T> =
PinnedStorage<ConstNodeTag<NODE_ID>, &'a [MelinoeCell<'brand, T>]>;