[][src]Struct dofus_stuff::dofapi::Condition

pub struct Condition(_);

A clause of atoms, i.e. written in the form (atom1 or atom2 ...) and (atom_i or atom_j ...) ...

Methods

impl Condition[src]

pub fn new() -> Self[src]

pub fn clauses(&self) -> &Vec<Vec<ConditionAtom>>[src]

Get clauses (the list of disjunction of a big and operator).

pub fn into_clauses(self) -> Vec<Vec<ConditionAtom>>[src]

Move into clauses (the list of disjunction of a big and operator).

pub fn and(cond1: Self, cond2: Self) -> Self[src]

Build a clause which is true if and only if both cond1 and cond2 are true.

Trait Implementations

impl Default for Condition[src]

impl Clone for Condition[src]

impl From<ConditionAtom> for Condition[src]

impl Debug for Condition[src]

impl<'de> Deserialize<'de> for Condition[src]

Auto Trait Implementations

impl Send for Condition

impl Unpin for Condition

impl Sync for Condition

impl UnwindSafe for Condition

impl RefUnwindSafe for Condition

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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