pub struct PartiallyAppliedTerm {
pub func_ptr: PrimitiveTermPointer,
pub args: Vec<TermReference>,
}Expand description
The application of some PrimitiveTermPointer
(which points to a FuncImpl) to some number of
TermReference arguments.
Fields§
§func_ptr: PrimitiveTermPointer§args: Vec<TermReference>Implementations§
Source§impl PartiallyAppliedTerm
impl PartiallyAppliedTerm
Sourcepub fn new(func_ptr: PrimitiveTermPointer) -> PartiallyAppliedTerm
pub fn new(func_ptr: PrimitiveTermPointer) -> PartiallyAppliedTerm
Constructs a new PartiallyAppliedTerm with the given func_ptr
as its function, and an initially-empty list of TermReference arguments.
Trait Implementations§
Source§impl Clone for PartiallyAppliedTerm
impl Clone for PartiallyAppliedTerm
Source§fn clone(&self) -> PartiallyAppliedTerm
fn clone(&self) -> PartiallyAppliedTerm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DisplayableWithState for PartiallyAppliedTerm
impl DisplayableWithState for PartiallyAppliedTerm
fn display(&self, state: &InterpreterState<'_>) -> String
Source§impl Hash for PartiallyAppliedTerm
impl Hash for PartiallyAppliedTerm
Source§impl PartialEq for PartiallyAppliedTerm
impl PartialEq for PartiallyAppliedTerm
impl Eq for PartiallyAppliedTerm
impl StructuralPartialEq for PartiallyAppliedTerm
Auto Trait Implementations§
impl Freeze for PartiallyAppliedTerm
impl RefUnwindSafe for PartiallyAppliedTerm
impl Send for PartiallyAppliedTerm
impl Sync for PartiallyAppliedTerm
impl Unpin for PartiallyAppliedTerm
impl UnwindSafe for PartiallyAppliedTerm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more