pub struct Loaded {
pub nrt_load: Option<NrtLoadFn>,
pub nrt_unload: Option<NrtUnloadFn>,
pub nrt_execute: Option<NrtExecuteFn>,
pub nrt_alloc_tensor_set: Option<NrtAllocTensorSetFn>,
pub nrt_free_tensor_set: Option<NrtFreeTensorSetFn>,
pub nrt_add_tensor_to_set: Option<NrtAddTensorToSetFn>,
/* private fields */
}Expand description
Resolved libnrt state: core count, version, and optional entry points.
Fields§
§nrt_load: Option<NrtLoadFn>nrt_load entry point, if the library exports it.
nrt_unload: Option<NrtUnloadFn>nrt_unload entry point, if the library exports it.
nrt_execute: Option<NrtExecuteFn>nrt_execute entry point, if the library exports it.
nrt_alloc_tensor_set: Option<NrtAllocTensorSetFn>nrt_allocate_tensor_set entry point, if the library exports it.
nrt_free_tensor_set: Option<NrtFreeTensorSetFn>nrt_free_tensor_set entry point, if the library exports it.
nrt_add_tensor_to_set: Option<NrtAddTensorToSetFn>nrt_add_tensor_to_tensor_set entry point, if the library exports it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loaded
impl RefUnwindSafe for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
impl UnwindSafe for Loaded
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