#[repr(C)]pub struct TVMFFIMethodInfo {
pub name: TVMFFIByteArray,
pub doc: TVMFFIByteArray,
pub metadata: TVMFFIByteArray,
pub flags: i64,
pub method: TVMFFIAny,
}
Expand description
Method information that can appear in reflection table
Fields§
§name: TVMFFIByteArray
The name of the field
doc: TVMFFIByteArray
The docstring about the method
metadata: TVMFFIByteArray
Optional metadata of the method in JSON string
flags: i64
bitmask flags of the method
method: TVMFFIAny
The method wrapped as ffi::Function, stored as AnyView The first argument to the method is always the self for instance methods
Auto Trait Implementations§
impl Freeze for TVMFFIMethodInfo
impl RefUnwindSafe for TVMFFIMethodInfo
impl !Send for TVMFFIMethodInfo
impl !Sync for TVMFFIMethodInfo
impl Unpin for TVMFFIMethodInfo
impl UnwindSafe for TVMFFIMethodInfo
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