[−][src]Struct razor_fol::syntax::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]
self,
first: T,
second: T,
third: T,
fourth: T,
fifth: T
) -> T
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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for F
[src]
fn cmp(&self, other: &F) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<F> for F
[src]
impl PartialOrd<F> for F
[src]
fn partial_cmp(&self, other: &F) -> Option<Ordering>
[src]
fn lt(&self, other: &F) -> bool
[src]
fn le(&self, other: &F) -> bool
[src]
fn gt(&self, other: &F) -> bool
[src]
fn ge(&self, other: &F) -> bool
[src]
impl StructuralEq for F
[src]
impl StructuralPartialEq for F
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,