Struct amdgpu_top_json::JsonDeviceInfo
source · pub struct JsonDeviceInfo {
pub app: AppAmdgpuTop,
pub info: Value,
}
Fields§
§app: AppAmdgpuTop
§info: Value
Implementations§
source§impl JsonDeviceInfo
impl JsonDeviceInfo
pub fn from_device_path_list(device_path_list: &[DevicePath]) -> Vec<Self>
pub fn json(&self, no_pc: bool) -> Value
Auto Trait Implementations§
impl Freeze for JsonDeviceInfo
impl RefUnwindSafe for JsonDeviceInfo
impl Send for JsonDeviceInfo
impl Sync for JsonDeviceInfo
impl Unpin for JsonDeviceInfo
impl UnwindSafe for JsonDeviceInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more