Struct bgfx_sys::bgfx_caps_gpu_s
source · #[repr(C)]pub struct bgfx_caps_gpu_s {
pub vendorId: u16,
pub deviceId: u16,
}
Expand description
GPU info.
Fields§
§vendorId: u16
§deviceId: u16
Vendor PCI id. See BGFX_PCI_ID_*
.
Trait Implementations§
source§impl Clone for bgfx_caps_gpu_s
impl Clone for bgfx_caps_gpu_s
source§fn clone(&self) -> bgfx_caps_gpu_s
fn clone(&self) -> bgfx_caps_gpu_s
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 bgfx_caps_gpu_s
impl Debug for bgfx_caps_gpu_s
impl Copy for bgfx_caps_gpu_s
Auto Trait Implementations§
impl Freeze for bgfx_caps_gpu_s
impl RefUnwindSafe for bgfx_caps_gpu_s
impl Send for bgfx_caps_gpu_s
impl Sync for bgfx_caps_gpu_s
impl Unpin for bgfx_caps_gpu_s
impl UnwindSafe for bgfx_caps_gpu_s
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