pub struct DependencyGraph {
pub predicates: HashSet<String>,
/* private fields */
}Expand description
Dependency graph for stratification analysis.
Fields§
§predicates: HashSet<String>Set of all predicate names in the graph.
Implementations§
Source§impl DependencyGraph
impl DependencyGraph
Sourcepub fn add_predicate(&mut self, name: String)
pub fn add_predicate(&mut self, name: String)
Add a predicate node to the graph.
Trait Implementations§
Source§impl Debug for DependencyGraph
impl Debug for DependencyGraph
Source§impl Default for DependencyGraph
impl Default for DependencyGraph
Source§fn default() -> DependencyGraph
fn default() -> DependencyGraph
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DependencyGraph
impl RefUnwindSafe for DependencyGraph
impl Send for DependencyGraph
impl Sync for DependencyGraph
impl Unpin for DependencyGraph
impl UnsafeUnpin for DependencyGraph
impl UnwindSafe for DependencyGraph
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