Skip to main content

IContextMenuItemAttributeMethods

Trait IContextMenuItemAttributeMethods 

Source
pub trait IContextMenuItemAttributeMethods: IContextMenuItemAttribute {
    // Provided method
    fn ctor(
        self,
        name: impl Into<Il2CppString>,
        function: impl Into<Il2CppString>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, name: impl Into<Il2CppString>, function: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString, ::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: IContextMenuItemAttribute> IContextMenuItemAttributeMethods for __T

Available on crate feature unity_engine-contextmenuitemattribute only.