INNER CODE UNIT · Rust
projectors
lurk-lab/lurk-beta · foil/src/lib.rs:83
pub fn projectors(&self) -> Option<&Vec<Self>> {
self.projectors.as_ref()
}
}
#[derive(Debug, Eq, Clone, Hash, PartialEq)]
pub struct FoilConfig {
/// If `dedup_var_names` is `true`, `Var`s with identical names will be merged when finalizing.
/// This option may be removed if it becomes clear that one setting is preferred.
dedup_var_names: bool,
}
impl Default for FoilConfig {
fn default() -> Self {
Self {
dedup_var_names: true,
}
}