//! Non-macOS targets have no Metal: discovery always reports "no device".
usecrate::DeviceInfo;/// A Metal device. Never available on this target.
#[derive(Debug, Clone)]pubstructDevice(std::convert::Infallible);implDevice{/// Always `None`: Metal exists only on Apple platforms.
pubfnsystem_default()->Option<Device>{None}/// Unreachable: no `Device` can be constructed on this target.
pubfninfo(&self)->&DeviceInfo{matchself.0{}}}