pub struct RustClrEnv {
pub runtime_version: RuntimeVersion,
pub meta_host: ICLRMetaHost,
pub runtime_info: ICLRRuntimeInfo,
pub cor_runtime_host: ICorRuntimeHost,
pub app_domain: _AppDomain,
}Expand description
Represents a simplified interface to the CLR components without loading assemblies.
Fields§
§runtime_version: RuntimeVersion.NET runtime version to use.
meta_host: ICLRMetaHostMetaHost for accessing CLR components.
runtime_info: ICLRRuntimeInfoRuntime information for the specified CLR version.
cor_runtime_host: ICorRuntimeHostHost for the CLR runtime.
app_domain: _AppDomainCurrent application domain.
Implementations§
Source§impl RustClrEnv
impl RustClrEnv
Sourcepub fn new(runtime_version: Option<RuntimeVersion>) -> Result<Self>
pub fn new(runtime_version: Option<RuntimeVersion>) -> Result<Self>
Creates a new RustClrEnv.
Trait Implementations§
Source§impl Debug for RustClrEnv
impl Debug for RustClrEnv
Auto Trait Implementations§
impl Freeze for RustClrEnv
impl RefUnwindSafe for RustClrEnv
impl !Send for RustClrEnv
impl !Sync for RustClrEnv
impl Unpin for RustClrEnv
impl UnwindSafe for RustClrEnv
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