Struct fetish_lib::term_application::TermApplication [−][src]
pub struct TermApplication { pub func_ptr: TermPointer, pub arg_ref: TermReference, }
Expand description
The application of some TermPointer
to a function
to a TermReference
argument.
Fields
func_ptr: TermPointer
arg_ref: TermReference
Implementations
impl TermApplication
[src]
impl TermApplication
[src]pub fn get_arg_type(&self, ctxt: &Context) -> TypeId
[src]
pub fn get_arg_type(&self, ctxt: &Context) -> TypeId
[src]Gets the argument TypeId
of this TermApplication
in the given Context
.
pub fn get_ret_type(&self, ctxt: &Context) -> TypeId
[src]
pub fn get_ret_type(&self, ctxt: &Context) -> TypeId
[src]Gets the return TypeId
of this TermApplication
in the given Context
.
pub fn get_func_type(&self) -> TypeId
[src]
pub fn get_func_type(&self) -> TypeId
[src]Gets the function TypeId
of this TermApplication
.
Trait Implementations
impl Clone for TermApplication
[src]
impl Clone for TermApplication
[src]fn clone(&self) -> TermApplication
[src]
fn clone(&self) -> TermApplication
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl DisplayableWithState for TermApplication
[src]
impl DisplayableWithState for TermApplication
[src]fn display(&self, state: &InterpreterState<'_>) -> String
[src]
impl Hash for TermApplication
[src]
impl Hash for TermApplication
[src]impl PartialEq<TermApplication> for TermApplication
[src]
impl PartialEq<TermApplication> for TermApplication
[src]fn eq(&self, other: &TermApplication) -> bool
[src]
fn eq(&self, other: &TermApplication) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TermApplication) -> bool
[src]
fn ne(&self, other: &TermApplication) -> bool
[src]This method tests for !=
.
impl Eq for TermApplication
[src]
impl StructuralEq for TermApplication
[src]
impl StructuralPartialEq for TermApplication
[src]
Auto Trait Implementations
impl RefUnwindSafe for TermApplication
impl Send for TermApplication
impl Sync for TermApplication
impl Unpin for TermApplication
impl UnwindSafe for TermApplication
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,