pub fn partitions<'a>(
        &'a self,
    ) -> impl Iterator<Item = (DeviceEntity<'a>, &'a Partition)> + 'a {
        self.components
            .partitions
            .iter()
            .map(move |(id, part)| (DeviceEntity { id, ctx: self }, part))
    }
/// Some device entities are partitions.
Some device entities are partitions.
Some device entities are partitions .
pub fn partitions<'a>(
        &'a self,
    ) -> impl Iterator<Item = (DeviceEntity<'a>, &'a Partition)> + 'a {
        self.components
            .partitions
            .iter()
            .map(move |(id, part)| (DeviceEntity { id, ctx: self }, part))
    }
pub fn partitions < ' a > ( & ' a self , ) -> impl Iterator < Item = ( DeviceEntity < ' a > , & ' a Partition ) > + ' a { self . components . partitions . iter ( ) . map ( move | ( id , part ) | ( DeviceEntity { id , ctx : self } , part ) ) }
Some device entities are partitions.
Some device entities are partitions .
&'a self
&'a self