pub trait PointerIndex {
type Output;
// Required methods
fn ptr(&self, index: &str) -> Option<Self::Output>;
fn ptr_assign(&mut self, index: &str, value: Self::Output) -> Result<()>;
}pub trait PointerIndex {
type Output;
// Required methods
fn ptr(&self, index: &str) -> Option<Self::Output>;
fn ptr_assign(&mut self, index: &str, value: Self::Output) -> Result<()>;
}