pub struct InputOptions<I: FnMut() -> bool> {
pub buffer_size: usize,
pub dictionary: Dictionary,
pub interrupt_callback: Option<I>,
}
Fields§
§buffer_size: usize
§dictionary: Dictionary
§interrupt_callback: Option<I>
Trait Implementations§
Source§impl<I: Clone + FnMut() -> bool> Clone for InputOptions<I>
impl<I: Clone + FnMut() -> bool> Clone for InputOptions<I>
Source§fn clone(&self) -> InputOptions<I>
fn clone(&self) -> InputOptions<I>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<I> Freeze for InputOptions<I>where
I: Freeze,
impl<I> RefUnwindSafe for InputOptions<I>where
I: RefUnwindSafe,
impl<I> Send for InputOptions<I>where
I: Send,
impl<I> !Sync for InputOptions<I>
impl<I> Unpin for InputOptions<I>where
I: Unpin,
impl<I> UnwindSafe for InputOptions<I>where
I: UnwindSafe,
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