use std::marker::PhantomData;
use crate::context::SlotId;
pub struct CellHandle<T> {
pub(crate) id: SlotId,
pub(crate) _marker: PhantomData<T>,
}
impl<T> CellHandle<T> {
pub(crate) fn new(id: SlotId) -> Self {
Self {
id,
_marker: PhantomData,
}
}
}
impl<T> Clone for CellHandle<T> {
fn clone(&self) -> Self {
*self
}
}
impl<T> Copy for CellHandle<T> {}