pub trait TextExt {
// Required methods
unsafe fn connect_redo_available<F: FnMut(&Self, bool) + 'static>(
&self,
cb: F,
);
unsafe fn connect_selection_changed<F: FnMut(&Self) + 'static>(&self, cb: F);
unsafe fn connect_text_changed<F: FnMut(&Self) + 'static>(&self, cb: F);
unsafe fn connect_undo_available<F: FnMut(&Self, bool) + 'static>(
&self,
cb: F,
);
}
Required Methods§
Sourceunsafe fn connect_redo_available<F: FnMut(&Self, bool) + 'static>(&self, cb: F)
unsafe fn connect_redo_available<F: FnMut(&Self, bool) + 'static>(&self, cb: F)
§Safety
The QObjects referenced by self and receiver must be alive.
Sourceunsafe fn connect_selection_changed<F: FnMut(&Self) + 'static>(&self, cb: F)
unsafe fn connect_selection_changed<F: FnMut(&Self) + 'static>(&self, cb: F)
§Safety
The QObjects referenced by self and receiver must be alive.
Sourceunsafe fn connect_text_changed<F: FnMut(&Self) + 'static>(&self, cb: F)
unsafe fn connect_text_changed<F: FnMut(&Self) + 'static>(&self, cb: F)
§Safety
The QObjects referenced by self and receiver must be alive.
Sourceunsafe fn connect_undo_available<F: FnMut(&Self, bool) + 'static>(&self, cb: F)
unsafe fn connect_undo_available<F: FnMut(&Self, bool) + 'static>(&self, cb: F)
§Safety
The QObjects referenced by self and receiver must be alive.
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.