pub struct BottomUpSynth {
pub max_size: usize,
pub variables: Vec<String>,
pub literals: Vec<String>,
}Expand description
A bottom-up enumerative synthesiser for functional programs.
Fields§
§max_size: usizeMaximum program size (AST nodes).
variables: Vec<String>Available variable names.
literals: Vec<String>Available literal values.
Implementations§
Source§impl BottomUpSynth
impl BottomUpSynth
Trait Implementations§
Source§impl Clone for BottomUpSynth
impl Clone for BottomUpSynth
Source§fn clone(&self) -> BottomUpSynth
fn clone(&self) -> BottomUpSynth
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 BottomUpSynth
impl RefUnwindSafe for BottomUpSynth
impl Send for BottomUpSynth
impl Sync for BottomUpSynth
impl Unpin for BottomUpSynth
impl UnsafeUnpin for BottomUpSynth
impl UnwindSafe for BottomUpSynth
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