#[repr(C)]pub struct EnvFuncObj {
pub name: String,
pub func: Function,
/* private fields */
}Expand description
Complete: reflected fields fill [24, 48) exactly.
Fields§
§name: String§func: FunctionTrait Implementations§
Source§impl<'a> From<&'a EnvFuncObj> for AnyView<'a>
impl<'a> From<&'a EnvFuncObj> for AnyView<'a>
Source§fn from(value: &'a EnvFuncObj) -> Self
fn from(value: &'a EnvFuncObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for EnvFuncObj
impl ObjectCore for EnvFuncObj
Source§const TYPE_DEPTH: i32 = 1i32
const TYPE_DEPTH: i32 = 1i32
Depth of this type in the object inheritance tree. Read more
fn type_index() -> i32
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
Return the object header
This function is implemented as a static function so Read more
Auto Trait Implementations§
impl !Freeze for EnvFuncObj
impl RefUnwindSafe for EnvFuncObj
impl !Send for EnvFuncObj
impl !Sync for EnvFuncObj
impl Unpin for EnvFuncObj
impl UnwindSafe for EnvFuncObj
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