FindReplaceDialogMethods

Trait FindReplaceDialogMethods 

Source
pub trait FindReplaceDialogMethods: DialogMethods {
    // Provided methods
    fn create_findreplacedata<W: WindowMethods, F: FindReplaceDataMethods>(
        &self,
        parent: Option<&W>,
        data: Option<&F>,
        title: &str,
        style: c_int,
    ) -> bool { ... }
    fn get_data(&self) -> Option<FindReplaceDataIsOwned<false>> { ... }
}
Expand description

This trait represents C++ wxFindReplaceDialog class’s methods and inheritance.

See FindReplaceDialogIsOwned documentation for the class usage.

Provided Methods§

Source

fn create_findreplacedata<W: WindowMethods, F: FindReplaceDataMethods>( &self, parent: Option<&W>, data: Option<&F>, title: &str, style: c_int, ) -> bool

Creates the dialog; use wxWindow::Show to show it on screen.

See C++ wxFindReplaceDialog::Create()’s documentation.

Source

fn get_data(&self) -> Option<FindReplaceDataIsOwned<false>>

Get the wxFindReplaceData object used by this dialog.

See C++ wxFindReplaceDialog::GetData()’s documentation.

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§