use crate::agnostic::{ClumpMut, Entity, FlatClodMut, phantoms::PhantomDirectory};
pub trait ClodMut<C: ClumpMut, D> {
fn nth_ent_mut(&mut self, n: usize) -> &mut impl Entity<C, D>;
fn a_sub_nth_ents_mut(&mut self, a: impl Iterator<Item = usize>) -> Vec<&mut impl Entity<C, D>>;
}
impl<C: ClumpMut, M: FlatClodMut<C>> ClodMut<C, PhantomDirectory> for M {
#[allow(refining_impl_trait)]
fn nth_ent_mut(&mut self, n: usize) -> &mut C {
self.nth_clump_mut(n)
}
#[allow(refining_impl_trait)]
fn a_sub_nth_ents_mut(&mut self, a: impl Iterator<Item = usize>) -> Vec<&mut C> {
self.a_sub_nth_clumps_mut(a)
}
}