Trait FilenameCompleterExt

Source
pub trait FilenameCompleterExt: 'static {
    // Required methods
    fn get_completion_suffix(&self, initial_text: &str) -> Option<GString>;
    fn get_completions(&self, initial_text: &str) -> Vec<GString>;
    fn set_dirs_only(&self, dirs_only: bool);
    fn connect_got_completion_data<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_completion_suffix(&self, initial_text: &str) -> Option<GString>

Source

fn get_completions(&self, initial_text: &str) -> Vec<GString>

Source

fn set_dirs_only(&self, dirs_only: bool)

Source

fn connect_got_completion_data<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

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§