oxilean-std 0.1.2

OxiLean standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # TableOracle - Trait Implementations
//!
//! This module contains trait implementations for `TableOracle`.
//!
//! ## Implemented Traits
//!
//! - `Oracle`
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use super::functions::Oracle;
use super::types::TableOracle;

impl Oracle for TableOracle {
    fn query(&self, input: &[String]) -> Option<String> {
        self.table.get(input).cloned()
    }
}