pub struct InterpreterConfig {
pub types: Vec<(IdentTriple, MetaType)>,
pub flags: InterpreterFlags,
pub debug_output: Option<PathBuf>,
}
Expand description
Configuration for the schema interpreter.
Fields§
§types: Vec<(IdentTriple, MetaType)>
List of user defined types to add to the interpreter before the schemas are actually interpreted.
See with_type
for more details.
flags: InterpreterFlags
Additional flags to control the interpreter.
debug_output: Option<PathBuf>
Wether to enable the debug output and where to write it to.
Trait Implementations§
Source§impl Clone for InterpreterConfig
impl Clone for InterpreterConfig
Source§fn clone(&self) -> InterpreterConfig
fn clone(&self) -> InterpreterConfig
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 InterpreterConfig
impl Debug for InterpreterConfig
Auto Trait Implementations§
impl Freeze for InterpreterConfig
impl !RefUnwindSafe for InterpreterConfig
impl Send for InterpreterConfig
impl Sync for InterpreterConfig
impl Unpin for InterpreterConfig
impl !UnwindSafe for InterpreterConfig
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