pub struct GpuDevice {
pub ordinal: u32,
pub available_vram_bytes: u64,
pub allocated_layer_bytes: u64,
pub allocated_buffer_bytes: u64,
pub allocated_layers: u64,
pub is_main_gpu: bool,
}Fields§
§ordinal: u32§available_vram_bytes: u64§allocated_layer_bytes: u64§allocated_buffer_bytes: u64§allocated_layers: u64§is_main_gpu: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for GpuDevice
impl RefUnwindSafe for GpuDevice
impl Send for GpuDevice
impl Sync for GpuDevice
impl Unpin for GpuDevice
impl UnwindSafe for GpuDevice
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