pub fn device(&self, entity: DeviceEntity) -> &Device {
        self.components
            .devices
            .devices
            .get(entity)
            .expect("invalid device entity; report this as a bug")
    }
/// Fetches a device entity by its entity ID.
Fetches a device entity by its entity ID.
Fetches a device entity by its entity ID .
pub fn device(&self, entity: DeviceEntity) -> &Device {
        self.components
            .devices
            .devices
            .get(entity)
            .expect("invalid device entity; report this as a bug")
    }
pub fn device ( & self , entity : DeviceEntity ) -> & Device { self . components . devices . devices . get ( entity ) . expect ( " " ) }
Fetches a device entity by its entity ID.
Fetches a device entity by its entity ID .
&self
entity
DeviceEntity
&self
entity
DeviceEntity