Skip to main content

CUdevResource_v1

Type Alias CUdevResource_v1 

Source
pub type CUdevResource_v1 = CUdevResource_st;
Expand description

A tagged union describing different resources identified by the type field. This structure should not be directly modified outside of the API that created it.

 struct {
     CUdevResourceType type;
     union {
         CUdevSmResource sm;
           CUdevWorkqueueConfigResource wqConfig;
           CUdevWorkqueueResource wq;
     };
 };

Aliased Type§

#[repr(C)]
pub struct CUdevResource_v1 { pub type_: CUdevResourceType, pub _internal_padding: [u8; 92], pub __bindgen_anon_1: CUdevResource_st__bindgen_ty_1, pub nextResource: *mut CUdevResource_st, }

Fields§

§type_: CUdevResourceType

Type of resource, dictates which union field was last set.

§_internal_padding: [u8; 92]

Internal padding in the native ABI layout.

§__bindgen_anon_1: CUdevResource_st__bindgen_ty_1

Anonymous native member. See CUdevResource_st__bindgen_ty_1 for its fields.

§nextResource: *mut CUdevResource_st

Link to another resource in a native device-resource chain.