pub struct Dependencies {
pub names: HashSet<String>,
pub attributes: HashSet<Aid>,
}
Expand description
Description of everything a plan needs prior to synthesis.
Fields§
§names: HashSet<String>
NameExpr’s used by this plan.
attributes: HashSet<Aid>
Attributes queries in Match* expressions.
Implementations§
Source§impl Dependencies
impl Dependencies
Sourcepub fn none() -> Dependencies
pub fn none() -> Dependencies
A description representing a dependency on nothing.
Sourcepub fn name(name: &str) -> Dependencies
pub fn name(name: &str) -> Dependencies
A description representing a dependency on a single name.
Sourcepub fn attribute(aid: &str) -> Dependencies
pub fn attribute(aid: &str) -> Dependencies
A description representing a dependency on a single attribute.
Sourcepub fn merge(left: Dependencies, right: Dependencies) -> Dependencies
pub fn merge(left: Dependencies, right: Dependencies) -> Dependencies
Merges two dependency descriptions into one, representing their union.
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