pub struct PrimitiveTermPointer {
pub type_id: TypeId,
pub index: usize,
}Expand description
A pointer to a primitive function term (crate::func_impl::FuncImpl)
within a Context’s crate::primitive_directory::PrimitiveDirectory.
Fields§
§type_id: TypeId§index: usizeTrait Implementations§
Source§impl Clone for PrimitiveTermPointer
impl Clone for PrimitiveTermPointer
Source§fn clone(&self) -> PrimitiveTermPointer
fn clone(&self) -> PrimitiveTermPointer
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 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 PrimitiveTermPointer
impl Hash for PrimitiveTermPointer
Source§impl PartialEq for PrimitiveTermPointer
impl PartialEq for PrimitiveTermPointer
impl Copy for PrimitiveTermPointer
impl Eq for PrimitiveTermPointer
impl StructuralPartialEq for PrimitiveTermPointer
Auto Trait Implementations§
impl Freeze for PrimitiveTermPointer
impl RefUnwindSafe for PrimitiveTermPointer
impl Send for PrimitiveTermPointer
impl Sync for PrimitiveTermPointer
impl Unpin for PrimitiveTermPointer
impl UnwindSafe for PrimitiveTermPointer
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