/// Return the parent of this device.
Return the parent of this device.
Return the parent of this device .
pub fn parents<'b>(&'b self, entity: DeviceEntity) -> impl Iterator<Item = DeviceEntity> + 'b {
        self.components
            .devices
            .children
            .iter()
            .filter(move |(_, pchildren)| pchildren.contains(&entity))
            .map(|(pentity, _)| pentity)
    }
pub fn parents < ' b > ( & ' b self , entity : DeviceEntity ) -> impl Iterator < Item = DeviceEntity > + ' b { self . components . devices . children . iter ( ) . filter ( move | ( _ , pchildren ) | pchildren . contains ( & entity ) ) . map ( | ( pentity , _ ) | pentity ) }
Return the parent of this device.
Return the parent of this device .
&'b self
entity
DeviceEntity