Struct rppal::system::DeviceInfo [−][src]
pub struct DeviceInfo { /* fields omitted */ }
Expand description
Retrieves Raspberry Pi device information.
Implementations
Constructs a new DeviceInfo
.
new
attempts to identify the Raspberry Pi’s model and SoC based on
the contents of /proc/cpuinfo
, /sys/firmware/devicetree/base/compatible
and /sys/firmware/devicetree/base/model
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
Blanket Implementations
Mutably borrows from an owned value. Read more