Skip to main content

IMaterialMenuItem_DecideEventHandlerMethods

Trait IMaterialMenuItem_DecideEventHandlerMethods 

Source
pub trait IMaterialMenuItem_DecideEventHandlerMethods: IMaterialMenuItem_DecideEventHandler {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(self, material_id: impl Into<Il2CppString>) { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn invoke(self, material_id: impl Into<Il2CppString>)

Invoke(::unity::Il2CppString) 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: IMaterialMenuItem_DecideEventHandler> IMaterialMenuItem_DecideEventHandlerMethods for __T

Available on crate feature app-materialmenuitem only.