[−][src]Struct dofus_stuff::dofapi::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]
fn from(atom: ConditionAtom) -> Self
[src]
impl Debug for Condition
[src]
impl<'de> Deserialize<'de> for Condition
[src]
fn deserialize<D>(deserializer: D) -> Result<Condition, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,