Struct ai_kit::infer::Negatable [] [src]

pub struct Negatable<B: BindingsValue, U: Unify<B>> { /* fields omitted */ }

Trait Implementations

impl<B: Clone + BindingsValue, U: Clone + Unify<B>> Clone for Negatable<B, U>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<B: Debug + BindingsValue, U: Debug + Unify<B>> Debug for Negatable<B, U>
[src]

Formats the value using the given formatter.

impl<B: PartialEq + BindingsValue, U: PartialEq + Unify<B>> PartialEq for Negatable<B, U>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<B: PartialOrd + BindingsValue, U: PartialOrd + Unify<B>> PartialOrd for Negatable<B, U>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<B, U> Eq for Negatable<B, U> where
    B: BindingsValue,
    U: Unify<B>, 
[src]

impl<B, U> Display for Negatable<B, U> where
    B: BindingsValue,
    U: Unify<B>, 
[src]

Formats the value using the given formatter. Read more

impl<B, U> Unify<B> for Negatable<B, U> where
    B: BindingsValue,
    U: Unify<B>, 
[src]

Check if this structure can be unified with another of the same type.

Given some bindings, construct a new instance with any variables replaced by their values

Return all variables in this tructure

Rename any variables in this structure with another variable name

Return a 'nil' sentinel value unique to this type of structure