[−][src]Struct genevo::termination::combinator::And
Methods
impl<T1, T2, A> And<T1, T2, A> where
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
[src]
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
pub fn new(condition1: T1, condition2: T2) -> Self
[src]
pub fn condition1(&self) -> &T1
[src]
pub fn condition2(&self) -> &T2
[src]
Trait Implementations
impl<T1, T2, A> Termination<A> for And<T1, T2, A> where
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
[src]
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
fn evaluate(&mut self, state: &State<A>) -> StopFlag
[src]
fn reset(&mut self)
[src]
Resets the state of this Termination
condition. This function is called on each Termination
instance when the simulation is reset. Read more
impl<T1: PartialEq, T2: PartialEq, A: PartialEq> PartialEq<And<T1, T2, A>> for And<T1, T2, A> where
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
[src]
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
impl<T1: Clone, T2: Clone, A: Clone> Clone for And<T1, T2, A> where
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
[src]
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
fn clone(&self) -> And<T1, T2, A>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T1: Debug, T2: Debug, A: Debug> Debug for And<T1, T2, A> where
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
[src]
T1: Termination<A>,
T2: Termination<A>,
A: Algorithm,
Auto Trait Implementations
impl<T1, T2, A> Send for And<T1, T2, A> where
A: Send,
T1: Send,
T2: Send,
A: Send,
T1: Send,
T2: Send,
impl<T1, T2, A> Sync for And<T1, T2, A> where
A: Sync,
T1: Sync,
T2: Sync,
A: Sync,
T1: Sync,
T2: Sync,
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,