pub struct OpenTermOptsBuilder(/* private fields */);Implementations§
Source§impl OpenTermOptsBuilder
impl OpenTermOptsBuilder
Sourcepub fn on_input<F: ToFunction<OnInputArgs, ()>>(
&mut self,
on_input: F,
) -> &mut Self
pub fn on_input<F: ToFunction<OnInputArgs, ()>>( &mut self, on_input: F, ) -> &mut Self
Callback invoked on data input (like keypresses in terminal mode).
pub fn build(&mut self) -> OpenTermOpts
Trait Implementations§
Source§impl Clone for OpenTermOptsBuilder
impl Clone for OpenTermOptsBuilder
Auto Trait Implementations§
impl Freeze for OpenTermOptsBuilder
impl RefUnwindSafe for OpenTermOptsBuilder
impl !Send for OpenTermOptsBuilder
impl !Sync for OpenTermOptsBuilder
impl Unpin for OpenTermOptsBuilder
impl UnwindSafe for OpenTermOptsBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.Source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Converts the value into a
Result.