Struct smart_read::TryReadArgs
source · pub struct TryReadArgs<Output> {
pub input: Input,
pub prompt: Option<String>,
pub default: Option<Output>,
}Expand description
This contains all possible information about the read / prompt
Fields§
§input: Input§prompt: Option<String>§default: Option<Output>Auto Trait Implementations§
impl<Output> Freeze for TryReadArgs<Output>where
Output: Freeze,
impl<Output> !RefUnwindSafe for TryReadArgs<Output>
impl<Output> !Send for TryReadArgs<Output>
impl<Output> !Sync for TryReadArgs<Output>
impl<Output> Unpin for TryReadArgs<Output>where
Output: Unpin,
impl<Output> !UnwindSafe for TryReadArgs<Output>
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