Trait EditableSignals

Source
pub trait EditableSignals: 'static {
    // Required methods
    fn connect_changed<F>(&self, changed_func: F) -> SignalHandlerId
       where F: Fn(&Self) + 'static;
    fn connect_delete_text<F>(&self, delete_text_func: F) -> SignalHandlerId
       where F: Fn(&Self, i32, i32) + 'static;
    fn connect_insert_text<F>(&self, insert_text_func: F) -> SignalHandlerId
       where F: Fn(&Self, &str, &mut i32) + 'static;
}

Required Methods§

Source

fn connect_changed<F>(&self, changed_func: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

Source

fn connect_delete_text<F>(&self, delete_text_func: F) -> SignalHandlerId
where F: Fn(&Self, i32, i32) + 'static,

Source

fn connect_insert_text<F>(&self, insert_text_func: F) -> SignalHandlerId
where F: Fn(&Self, &str, &mut i32) + 'static,

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§