pub struct TermPointer {
pub type_id: TypeId,
pub index: TermIndex,
}Expand description
A pointer to an arbitrary primitive or non-primitive
term within an InterpreterState.
Fields§
§type_id: TypeId§index: TermIndexTrait Implementations§
Source§impl Clone for TermPointer
impl Clone for TermPointer
Source§fn clone(&self) -> TermPointer
fn clone(&self) -> TermPointer
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 TermPointer
impl DisplayableWithState for TermPointer
fn display(&self, state: &InterpreterState<'_>) -> String
Source§impl From<NonPrimitiveTermPointer> for TermPointer
impl From<NonPrimitiveTermPointer> for TermPointer
Source§fn from(term_ptr: NonPrimitiveTermPointer) -> Self
fn from(term_ptr: NonPrimitiveTermPointer) -> Self
Converts to this type from the input type.
Source§impl From<PrimitiveTermPointer> for TermPointer
impl From<PrimitiveTermPointer> for TermPointer
Source§fn from(term_ptr: PrimitiveTermPointer) -> Self
fn from(term_ptr: PrimitiveTermPointer) -> Self
Converts to this type from the input type.
Source§impl Hash for TermPointer
impl Hash for TermPointer
Source§impl PartialEq for TermPointer
impl PartialEq for TermPointer
impl Copy for TermPointer
impl Eq for TermPointer
impl StructuralPartialEq for TermPointer
Auto Trait Implementations§
impl Freeze for TermPointer
impl RefUnwindSafe for TermPointer
impl Send for TermPointer
impl Sync for TermPointer
impl Unpin for TermPointer
impl UnwindSafe for TermPointer
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