#[repr(C)]pub struct PF_GPUDeviceSetupInput {
pub what_gpu: PF_GPU_Framework,
pub device_index: A_u_long,
}Expand description
–––––––––– GPU Setup/Setdown Constants and Structures ––––––––––
PF_Cmd_GPU_DEVICE_SETUP gets a PF_GPUDeviceSetupExtra struct in the extra pointer.
PF_Cmd_GPU_DEVICE_SETDOWN gets a PF_GPUDeviceSetdownExtra struct in the extra pointer.
Fields§
§what_gpu: PF_GPU_Framework§device_index: A_u_longTrait Implementations§
Source§impl Clone for PF_GPUDeviceSetupInput
impl Clone for PF_GPUDeviceSetupInput
Source§fn clone(&self) -> PF_GPUDeviceSetupInput
fn clone(&self) -> PF_GPUDeviceSetupInput
Returns a duplicate 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 PF_GPUDeviceSetupInput
impl Debug for PF_GPUDeviceSetupInput
impl Copy for PF_GPUDeviceSetupInput
Auto Trait Implementations§
impl Freeze for PF_GPUDeviceSetupInput
impl RefUnwindSafe for PF_GPUDeviceSetupInput
impl Send for PF_GPUDeviceSetupInput
impl Sync for PF_GPUDeviceSetupInput
impl Unpin for PF_GPUDeviceSetupInput
impl UnwindSafe for PF_GPUDeviceSetupInput
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