[][src]Struct razor_fol::syntax::F

pub struct F(_);

Represents an uninterpreted function symbol with a given name.

Methods

impl F[src]

pub fn app<T: FApp>(self, terms: Vec<T>) -> T[src]

Applies the receiver on a list of terms. The length of terms must be equal to the (assumed) arity of the function.

Note: the definition of F does not impose any restrictions on the arity of function symbols. The user is expected to assume the arity of the function.

pub fn app0<T: FApp>(self) -> T[src]

Applies the (nullary) function.

pub fn app1<T: FApp>(self, first: T) -> T[src]

Applies the (unary) receiver on a term.

pub fn app2<T: FApp>(self, first: T, second: T) -> T[src]

Applies the (binary) receiver on two terms.

pub fn app3<T: FApp>(self, first: T, second: T, third: T) -> T[src]

Applies the (ternary) receiver on three terms.

pub fn app4<T: FApp>(self, first: T, second: T, third: T, fourth: T) -> T[src]

Applies the (4-ary) receiver on four terms.

pub fn app5<T: FApp>(
    self,
    first: T,
    second: T,
    third: T,
    fourth: T,
    fifth: T
) -> T
[src]

Applies the (5-ary) receiver on five terms.

Trait Implementations

impl Clone for F[src]

impl Debug for F[src]

impl Display for F[src]

impl Eq for F[src]

impl<'_> From<&'_ String> for F[src]

impl<'_> From<&'_ str> for F[src]

impl Hash for F[src]

impl Ord for F[src]

impl PartialEq<F> for F[src]

impl PartialOrd<F> for F[src]

impl StructuralEq for F[src]

impl StructuralPartialEq for F[src]

Auto Trait Implementations

impl RefUnwindSafe for F

impl Send for F

impl Sync for F

impl Unpin for F

impl UnwindSafe for F

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.