pub fn deps(&self) -> BTreeSet<String> {
        match self {
            Clause::Fact(fact) => {
                let mut deps = BTreeSet::new();
                deps.insert(fact.name.clone());
                for value in fact.props.values() {
                    deps.extend(value.deps());
                }
                deps
            }
            Clause::Expr(_) => BTreeSet::new(),
            Clause::Binding(_, value) => value.deps(),
        }
    }
/// Returns all relations referenced by this clause.
Returns all relations referenced by this clause.
Returns all relations referenced by this clause .
pub fn deps(&self) -> BTreeSet<String> {
        match self {
            Clause::Fact(fact) => {
                let mut deps = BTreeSet::new();
                deps.insert(fact.name.clone());
                for value in fact.props.values() {
                    deps.extend(value.deps());
                }
                deps
            }
            Clause::Expr(_) => BTreeSet::new(),
            Clause::Binding(_, value) => value.deps(),
        }
    }
pub fn deps ( & self ) -> BTreeSet < String > { match self { Clause :: Fact ( fact ) => { let mut deps = BTreeSet :: new ( ) ; deps . insert ( fact . name . clone ( ) ) ; for value in fact . props . values ( ) { deps . extend ( value . deps ( ) ) ; } deps } Clause :: Expr ( _ ) => BTreeSet :: new ( ) , Clause :: Binding ( _ , value ) => value . deps ( ) , } }
Returns all relations referenced by this clause.
Returns all relations referenced by this clause .
&self
&self