pub struct IOExample {
pub inputs: Vec<String>,
pub output: String,
}Expand description
An input/output example for programming by example.
Fields§
§inputs: Vec<String>Input values (as strings for generality).
output: StringExpected output.
Implementations§
Trait Implementations§
impl Eq for IOExample
impl StructuralPartialEq for IOExample
Auto Trait Implementations§
impl Freeze for IOExample
impl RefUnwindSafe for IOExample
impl Send for IOExample
impl Sync for IOExample
impl Unpin for IOExample
impl UnsafeUnpin for IOExample
impl UnwindSafe for IOExample
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