pub struct Dependencies {
pub variable_dependencies: HashSet<String>,
pub function_dependencies: HashSet<String>,
pub builder_dependencies: HashSet<String>,
}Expand description
Shallow (non builder recursive) dependencies of an super::evaluator::Evaluator.
Fields§
§variable_dependencies: HashSet<String>§function_dependencies: HashSet<String>§builder_dependencies: HashSet<String>Implementations§
Source§impl Dependencies
impl Dependencies
pub fn empty() -> Self
pub fn add_variable(&mut self, name: impl ToString)
pub fn add_function(&mut self, name: impl ToString)
pub fn add_builder(&mut self, name: impl ToString)
pub fn contains_variable(&self, name: &str) -> bool
pub fn contains_function(&self, name: &str) -> bool
pub fn contains_builder(&self, name: &str) -> bool
pub fn iter_builder_dependencies(&self) -> impl Iterator<Item = &str>
pub fn iter_variable_dependencies(&self) -> impl Iterator<Item = &str>
Auto Trait Implementations§
impl Freeze for Dependencies
impl RefUnwindSafe for Dependencies
impl Send for Dependencies
impl Sync for Dependencies
impl Unpin for Dependencies
impl UnwindSafe for Dependencies
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