#[repr(C)]pub struct ZeModuleDesc {
pub stype: u32,
pub p_next: *const c_void,
pub format: u32,
pub input_size: usize,
pub p_input_module: *const u8,
pub p_build_flags: *const c_char,
pub p_constants: *const c_void,
}Expand description
Mirrors ze_module_desc_t.
Fields§
§stype: u32ze_module_desc_t::stype.
p_next: *const c_voidze_module_desc_t::pNext.
format: u32ze_module_desc_t::format, one of the ZE_MODULE_FORMAT_* values.
input_size: usizeze_module_desc_t::inputSize, in bytes.
p_input_module: *const u8ze_module_desc_t::pInputModule.
p_build_flags: *const c_charze_module_desc_t::pBuildFlags.
p_constants: *const c_voidze_module_desc_t::pConstants.
Auto Trait Implementations§
impl !Send for ZeModuleDesc
impl !Sync for ZeModuleDesc
impl Freeze for ZeModuleDesc
impl RefUnwindSafe for ZeModuleDesc
impl Unpin for ZeModuleDesc
impl UnsafeUnpin for ZeModuleDesc
impl UnwindSafe for ZeModuleDesc
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