pub fn children(&self) -> impl Iterator<Item = DeviceEntity<'_>> {
        self.ctx
            .components
            .children
            .get(self.id)
            .into_iter()
            .flat_map(|entities| entities.iter())
            .map(move |&id| DeviceEntity { id, ctx: self.ctx })
    }
// Provides an iterator for listing children of a device, for devices that support having
// multiple children.
Provides an iterator for listing children of a device, for devices that support having
multiple children.
Provides an iterator for listing children of a device for devices that support having multiple children .
pub fn children(&self) -> impl Iterator<Item = DeviceEntity<'_>> {
        self.ctx
            .components
            .children
            .get(self.id)
            .into_iter()
            .flat_map(|entities| entities.iter())
            .map(move |&id| DeviceEntity { id, ctx: self.ctx })
    }
pub fn children ( & self ) -> impl Iterator < Item = DeviceEntity < ' _ > > { self . ctx . components . children . get ( self . id ) . into_iter ( ) . flat_map ( | entities | entities . iter ( ) ) . map ( move | & id | DeviceEntity { id , ctx : self . ctx } ) }
Provides an iterator for listing children of a device, for devices that support having
multiple children.
Provides an iterator for listing children of a device for devices that support having multiple children .
&self
&self