Struct IMLOperatorKernelCreationContext_Vtbl
#[repr(C)]pub struct IMLOperatorKernelCreationContext_Vtbl {
pub base__: IMLOperatorAttributes_Vtbl,
pub GetInputCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub GetOutputCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub IsInputValid: unsafe extern "system" fn(_: *mut c_void, _: u32) -> bool,
pub IsOutputValid: unsafe extern "system" fn(_: *mut c_void, _: u32) -> bool,
pub GetInputEdgeDescription: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MLOperatorEdgeDescription) -> HRESULT,
pub GetOutputEdgeDescription: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MLOperatorEdgeDescription) -> HRESULT,
pub HasTensorShapeDescription: unsafe extern "system" fn(_: *mut c_void) -> bool,
pub GetTensorShapeDescription: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetExecutionInterface: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void),
}
Fields§
§base__: IMLOperatorAttributes_Vtbl
§GetInputCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§GetOutputCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§IsInputValid: unsafe extern "system" fn(_: *mut c_void, _: u32) -> bool
§IsOutputValid: unsafe extern "system" fn(_: *mut c_void, _: u32) -> bool
§GetInputEdgeDescription: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MLOperatorEdgeDescription) -> HRESULT
§GetOutputEdgeDescription: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MLOperatorEdgeDescription) -> HRESULT
§HasTensorShapeDescription: unsafe extern "system" fn(_: *mut c_void) -> bool
§GetTensorShapeDescription: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetExecutionInterface: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void)
Implementations§
§impl IMLOperatorKernelCreationContext_Vtbl
impl IMLOperatorKernelCreationContext_Vtbl
pub const fn new<Identity: IMLOperatorKernelCreationContext_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMLOperatorKernelCreationContext_Vtbl
impl RefUnwindSafe for IMLOperatorKernelCreationContext_Vtbl
impl Send for IMLOperatorKernelCreationContext_Vtbl
impl Sync for IMLOperatorKernelCreationContext_Vtbl
impl Unpin for IMLOperatorKernelCreationContext_Vtbl
impl UnwindSafe for IMLOperatorKernelCreationContext_Vtbl
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