pub mod dialoguer; use crate::ValueBuilder; use crate::BuildableValue; use crate::CollectionBuilder; /// A backend can be used to get builders for specific types pub trait Backend { type Error: Sized; fn bool_builder(&self) -> Box>; fn u8_builder(&self) -> Box>; fn u16_builder(&self) -> Box>; fn u32_builder(&self) -> Box>; fn u64_builder(&self) -> Box>; fn u128_builder(&self) -> Box>; fn i8_builder(&self) -> Box>; fn i16_builder(&self) -> Box>; fn i32_builder(&self) -> Box>; fn i64_builder(&self) -> Box>; fn i128_builder(&self) -> Box>; fn usize_builder(&self) -> Box>; fn isize_builder(&self) -> Box>; fn f32_builder(&self) -> Box>; fn f64_builder(&self) -> Box>; fn char_builder(&self) -> Box>; fn string_builder(&self) -> Box>; fn vec_builder(&self) -> Box, Error = Self::Error>> where T: 'static + BuildableValue ; }