Struct tvm::runtime::function::RawArgs [−][src]
pub struct RawArgs;
Trait Implementations
pub fn into_raw(
self
) -> *mut <fn(Vec<ArgValue<'arg>, Global>) -> Result<RetValue, Error> as ToFunction<RawArgs, RetValue>>::Handle
pub fn call(
handle: *mut <fn(Vec<ArgValue<'arg>, Global>) -> Result<RetValue, Error> as ToFunction<RawArgs, RetValue>>::Handle,
args: Vec<ArgValue<'arg>, Global>
) -> Result<RetValue, Error>
pub fn drop(
*mut <fn(Vec<ArgValue<'arg>, Global>) -> Result<RetValue, Error> as ToFunction<RawArgs, RetValue>>::Handle
)
The callback function which is wrapped converted by TVM into a packed function stored in fhandle. Read more
The finalizer which is invoked when the packed function’s reference count is zero. Read more
Auto Trait Implementations
impl RefUnwindSafe for RawArgs
impl UnwindSafe for RawArgs
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more