Skip to main content

ConfigBasicMenuItemExt

Trait ConfigBasicMenuItemExt 

Source
pub trait ConfigBasicMenuItemExt: Sized {
    // Required methods
    fn new_switch<M: ConfigBasicMenuItemSwitchMethods>(
        title: impl Into<Il2CppString>,
    ) -> Self;
    fn new_command<M: ConfigBasicMenuItemCommandMethods>(
        title: impl Into<Il2CppString>,
    ) -> Self;
    fn new_gauge<M: ConfigBasicMenuItemGaugeMethods>(
        title: impl Into<Il2CppString>,
    ) -> Self;
    fn change_key_value_b(value: bool) -> bool;
}

Required Methods§

Source

fn new_switch<M: ConfigBasicMenuItemSwitchMethods>( title: impl Into<Il2CppString>, ) -> Self

Source

fn new_command<M: ConfigBasicMenuItemCommandMethods>( title: impl Into<Il2CppString>, ) -> Self

Source

fn new_gauge<M: ConfigBasicMenuItemGaugeMethods>( title: impl Into<Il2CppString>, ) -> Self

Source

fn change_key_value_b(value: bool) -> bool

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§