Struct libamdgpu_top::DevicePath
source · pub struct DevicePath {
pub render: PathBuf,
pub card: PathBuf,
pub pci: BUS_INFO,
}Fields§
§render: PathBuf§card: PathBuf§pci: BUS_INFOImplementations§
source§impl DevicePath
impl DevicePath
pub fn init(&self) -> Result<DeviceHandle>
pub fn get_device_path_list() -> Vec<Self>
pub fn get_gfx_target_version_from_kfd(&self) -> Option<GfxTargetVersion>
Trait Implementations§
source§impl Clone for DevicePath
impl Clone for DevicePath
source§fn clone(&self) -> DevicePath
fn clone(&self) -> DevicePath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DevicePath
impl Debug for DevicePath
Auto Trait Implementations§
impl RefUnwindSafe for DevicePath
impl Send for DevicePath
impl Sync for DevicePath
impl Unpin for DevicePath
impl UnwindSafe for DevicePath
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