pub struct VersionSpace {
pub candidates: Vec<String>,
pub examples: Vec<IOExample>,
}Expand description
A version space: the set of programs consistent with all examples seen.
Fields§
§candidates: Vec<String>Candidate programs still consistent with all examples.
examples: Vec<IOExample>Examples used to prune the version space.
Implementations§
Trait Implementations§
Source§impl Clone for VersionSpace
impl Clone for VersionSpace
Source§fn clone(&self) -> VersionSpace
fn clone(&self) -> VersionSpace
Returns a duplicate 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 Freeze for VersionSpace
impl RefUnwindSafe for VersionSpace
impl Send for VersionSpace
impl Sync for VersionSpace
impl Unpin for VersionSpace
impl UnsafeUnpin for VersionSpace
impl UnwindSafe for VersionSpace
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