pub struct GpuDeviceInfo { /* private fields */ }Expand description
GPU device information for edge computing
Implementations§
Source§impl GpuDeviceInfo
impl GpuDeviceInfo
pub fn is_gpu(&self) -> bool
pub fn supports_webgpu(&self) -> bool
pub fn is_initialized(&self) -> bool
Auto Trait Implementations§
impl Freeze for GpuDeviceInfo
impl RefUnwindSafe for GpuDeviceInfo
impl Send for GpuDeviceInfo
impl Sync for GpuDeviceInfo
impl Unpin for GpuDeviceInfo
impl UnwindSafe for GpuDeviceInfo
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