Struct fetish_lib::term_application_result::TermApplicationResult [−][src]
pub struct TermApplicationResult { pub term_app: TermApplication, pub result_ref: TermReference, }
Expand description
The pairing of a TermApplication
with
a TermReference
that it evaluated to
when passed into an crate::interpreter_state::InterpreterState
.
Fields
term_app: TermApplication
result_ref: TermReference
Implementations
impl TermApplicationResult
[src]
impl TermApplicationResult
[src]pub fn get_term_input_output(&self) -> TermInputOutput
[src]
pub fn get_arg_type(&self, ctxt: &Context) -> TypeId
[src]
pub fn get_arg_type(&self, ctxt: &Context) -> TypeId
[src]pub fn get_func_type(&self) -> TypeId
[src]
pub fn get_func_type(&self) -> TypeId
[src]Gets the TypeId
of the function
pub fn get_ret_type(&self, ctxt: &Context) -> TypeId
[src]
pub fn get_ret_type(&self, ctxt: &Context) -> TypeId
[src]pub fn get_arg_ref(&self) -> TermReference
[src]
pub fn get_arg_ref(&self) -> TermReference
[src]Gets the argument TermReference
in this TermApplicationResult
.
pub fn get_ret_ref(&self) -> TermReference
[src]
pub fn get_ret_ref(&self) -> TermReference
[src]Gets the return TermReference
in this TermApplicationResult
.
pub fn get_func_ptr(&self) -> TermPointer
[src]
pub fn get_func_ptr(&self) -> TermPointer
[src]Gets the function TermPointer
in this TermApplicationResult
.
Trait Implementations
impl Clone for TermApplicationResult
[src]
impl Clone for TermApplicationResult
[src]fn clone(&self) -> TermApplicationResult
[src]
fn clone(&self) -> TermApplicationResult
[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 Hash for TermApplicationResult
[src]
impl Hash for TermApplicationResult
[src]impl PartialEq<TermApplicationResult> for TermApplicationResult
[src]
impl PartialEq<TermApplicationResult> for TermApplicationResult
[src]fn eq(&self, other: &TermApplicationResult) -> bool
[src]
fn eq(&self, other: &TermApplicationResult) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TermApplicationResult) -> bool
[src]
fn ne(&self, other: &TermApplicationResult) -> bool
[src]This method tests for !=
.
impl Eq for TermApplicationResult
[src]
impl StructuralEq for TermApplicationResult
[src]
impl StructuralPartialEq for TermApplicationResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for TermApplicationResult
impl Send for TermApplicationResult
impl Sync for TermApplicationResult
impl Unpin for TermApplicationResult
impl UnwindSafe for TermApplicationResult
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>,