Struct wrapped_mono::Assembly
source · pub struct Assembly { /* private fields */ }
Expand description
Safe representation of an executable file containing managed code and data about it.
Implementations§
source§impl Assembly
impl Assembly
sourcepub fn get_ptr(&self) -> *mut MonoAssembly
pub fn get_ptr(&self) -> *mut MonoAssembly
Returns the internal pointer to [MonoAssembly
] this object represents.
sourcepub fn get_image(&self) -> Image
pub fn get_image(&self) -> Image
Gets the Image
from this assembly(part of the assembly containing executable code)
sourcepub fn assembly_loaded(name: &str) -> Option<Self>
pub fn assembly_loaded(name: &str) -> Option<Self>
Checks if assembly name is loaded, and if it is returns that assembly.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Assembly
impl !Send for Assembly
impl !Sync for Assembly
impl Unpin for Assembly
impl UnwindSafe for Assembly
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