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