Skip to main content

IFrameworkCurrentMethods

Trait IFrameworkCurrentMethods 

Source
pub trait IFrameworkCurrentMethods: IFrameworkCurrent {
    // Provided methods
    fn is_db_null(self, o: impl Into<Object>) -> bool { ... }
    fn string_contains_char(
        self,
        str: impl Into<Il2CppString>,
        chr: impl Into<u16>,
    ) -> bool { ... }
    fn get_interface(
        self,
        type: impl Into<SystemType>,
        name: impl Into<Il2CppString>,
    ) -> SystemType { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn is_db_null(self, o: impl Into<Object>) -> bool

IsDbNull(crate::system::object::Object) overload

Source

fn string_contains_char( self, str: impl Into<Il2CppString>, chr: impl Into<u16>, ) -> bool

StringContainsChar(::unity::Il2CppString, u16) overload

Source

fn get_interface( self, type: impl Into<SystemType>, name: impl Into<Il2CppString>, ) -> SystemType

GetInterface(::unity::SystemType, ::unity::Il2CppString) overload

Source

fn ctor(self)

.ctor() 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: IFrameworkCurrent> IFrameworkCurrentMethods for __T

Available on crate feature moon_sharp-interpreter-compatibility-frameworks-frameworkcurrent only.