Struct banyan_utils::tag_index::Dnf[][src]

pub struct Dnf(pub BTreeSet<TagSet>);

Disjunctive normal form of a boolean query expression

https://en.wikipedia.org/wiki/Disjunctive_normal_form

This is an unique represenation of a query using literals, union and intersection.

Implementations

impl Dnf[src]

pub fn expression(self) -> Expression[src]

converts the disjunctive normal form back to an expression

Trait Implementations

impl BitAnd<Dnf> for Dnf[src]

type Output = Dnf

The resulting type after applying the & operator.

impl BitOr<Dnf> for Dnf[src]

type Output = Dnf

The resulting type after applying the | operator.

impl Clone for Dnf[src]

impl Debug for Dnf[src]

impl Eq for Dnf[src]

impl From<Dnf> for Expression[src]

impl From<Expression> for Dnf[src]

impl Ord for Dnf[src]

impl PartialEq<Dnf> for Dnf[src]

impl PartialOrd<Dnf> for Dnf[src]

impl StructuralEq for Dnf[src]

impl StructuralPartialEq for Dnf[src]

Auto Trait Implementations

impl RefUnwindSafe for Dnf

impl Send for Dnf

impl Sync for Dnf

impl Unpin for Dnf

impl UnwindSafe for Dnf

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> References<RawCodec> for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,