pub fn device_memory_bytes() -> Option<u64>Expand description
The device’s total memory in bytes, when this platform reports it.
Read once per process from /proc/meminfo’s MemTotal on Linux and
Android — the kernel’s own figure, readable without a permission on both —
and None everywhere else, which keeps every other platform on the tier
it took before the large one existed.