pub struct CgClause {
pub head: Term,
pub body: Vec<Spanned<Term>>,
}Expand description
A clause as codegen consumes it: a plain head term plus body goals whose source spans survive lowering. (Provenance for the head is not needed — existence errors point at the call site, not the definition.)
Fields§
§head: Term§body: Vec<Spanned<Term>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CgClause
impl RefUnwindSafe for CgClause
impl Send for CgClause
impl Sync for CgClause
impl Unpin for CgClause
impl UnsafeUnpin for CgClause
impl UnwindSafe for CgClause
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