Trait rslogic::state::Unif
[−]
[src]
pub trait Unif<T> where
T: PartialEq + Unif<T>, { fn unify(&self, other: &T, prev: &State<T>) -> PossibleStates<T>; }
Values used in a state must be unifiable. Unifying two values produces zero or more possible states, where variables that may be contained in the values may be bound in various combinations.
Required Methods
fn unify(&self, other: &T, prev: &State<T>) -> PossibleStates<T>
Implementors
impl Unif<bool> for bool
impl Unif<char> for char
impl Unif<f32> for f32
impl Unif<f64> for f64
impl Unif<i16> for i16
impl Unif<i32> for i32
impl Unif<i64> for i64
impl Unif<i8> for i8
impl Unif<isize> for isize
impl Unif<u16> for u16
impl Unif<u32> for u32
impl Unif<u64> for u64
impl Unif<u8> for u8
impl Unif<usize> for usize
impl Unif<String> for String