pub struct Object {
pub mono_ptr: *mut MonoObject,
pub assembly: Arc<Assembly>,
pub class: Arc<Class>,
pub domain: Arc<Domain>,
pub image: Arc<Image>,
}
Fields§
§mono_ptr: *mut MonoObject
§assembly: Arc<Assembly>
§class: Arc<Class>
§domain: Arc<Domain>
§image: Arc<Image>
Implementations§
Source§impl Object
impl Object
pub fn construct(&self, args: Option<Arguments>) -> MonoResult<()>
pub fn get_class_name(&self) -> String
pub fn get_method_by_name<T: AsRef<str>>( &self, name: T, ) -> MonoResult<ObjectMethod>
pub fn get_field_by_name<T: AsRef<str>>( &self, name: T, ) -> MonoResult<ObjectField>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl !Send for Object
impl !Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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