pub struct Binding {
pub name: String,
pub text: String,
pub buf: TermBuf,
}Expand description
One query-variable binding, materialized at solution time. text is the
readable form; buf is a relocatable snapshot of the (already
dereferenced) value term — a raw heap word would alias later solutions’
cells once backtracking rewinds and reuses the arena.
Fields§
§name: String§text: String§buf: TermBufAuto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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