Skip to main content

IScriptGlobalOptionsMethods

Trait IScriptGlobalOptionsMethods 

Source
pub trait IScriptGlobalOptionsMethods: IScriptGlobalOptions {
    // Provided methods
    fn ctor(self) { ... }
    fn get_custom_converters(self) -> CustomConvertersCollection { ... }
    fn set_custom_converters(self, value: impl Into<CustomConvertersCollection>) { ... }
    fn get_platform(self) -> IPlatformAccessor { ... }
    fn set_platform(self, value: impl Into<IPlatformAccessor>) { ... }
    fn get_rethrow_exception_nested(self) -> bool { ... }
    fn set_rethrow_exception_nested(self, value: impl Into<bool>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_custom_converters(self) -> CustomConvertersCollection

get_CustomConverters() overload

Source

fn set_custom_converters(self, value: impl Into<CustomConvertersCollection>)

set_CustomConverters(crate::moon_sharp::interpreter::interop::customconverterscollection::CustomConvertersCollection) overload

Source

fn get_platform(self) -> IPlatformAccessor

get_Platform() overload

Source

fn set_platform(self, value: impl Into<IPlatformAccessor>)

set_Platform(crate::moon_sharp::interpreter::platforms::iplatformaccessor::IPlatformAccessor) overload

Source

fn get_rethrow_exception_nested(self) -> bool

get_RethrowExceptionNested() overload

Source

fn set_rethrow_exception_nested(self, value: impl Into<bool>)

set_RethrowExceptionNested(bool) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IScriptGlobalOptions> IScriptGlobalOptionsMethods for __T

Available on crate feature moon_sharp-interpreter-scriptglobaloptions only.