pub struct TableOracle {
pub table: HashMap<Vec<String>, String>,
}Expand description
A finite-table oracle backed by a lookup table.
Fields§
§table: HashMap<Vec<String>, String>The lookup table.
Implementations§
Trait Implementations§
Source§impl Clone for TableOracle
impl Clone for TableOracle
Source§fn clone(&self) -> TableOracle
fn clone(&self) -> TableOracle
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 moreSource§impl Debug for TableOracle
impl Debug for TableOracle
Source§impl Default for TableOracle
impl Default for TableOracle
Source§fn default() -> TableOracle
fn default() -> TableOracle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TableOracle
impl RefUnwindSafe for TableOracle
impl Send for TableOracle
impl Sync for TableOracle
impl Unpin for TableOracle
impl UnsafeUnpin for TableOracle
impl UnwindSafe for TableOracle
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