pub struct ModuleEvalOptions {
pub with_meta: bool,
pub recursive: bool,
pub package_name: Option<String>,
pub target_dir: Option<String>,
}Expand description
Options for module evaluation
Fields§
§with_meta: boolExtract source positions into separate meta map
recursive: booltrue: cue eval ./… (recursive), false: cue eval . (current directory)
package_name: Option<String>Filter to specific package name, None = all packages
target_dir: Option<String>Directory to evaluate (for non-recursive), None = module root. Use this to evaluate a specific subdirectory without loading the entire module.
Trait Implementations§
Source§impl Clone for ModuleEvalOptions
impl Clone for ModuleEvalOptions
Source§fn clone(&self) -> ModuleEvalOptions
fn clone(&self) -> ModuleEvalOptions
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 ModuleEvalOptions
impl Debug for ModuleEvalOptions
Source§impl Default for ModuleEvalOptions
impl Default for ModuleEvalOptions
Source§fn default() -> ModuleEvalOptions
fn default() -> ModuleEvalOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModuleEvalOptions
impl RefUnwindSafe for ModuleEvalOptions
impl Send for ModuleEvalOptions
impl Sync for ModuleEvalOptions
impl Unpin for ModuleEvalOptions
impl UnwindSafe for ModuleEvalOptions
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