pub struct Signature {
pub domain: &'static str,
pub types: &'static [TypeSignature],
pub predicates: &'static [Symbol],
pub functions: &'static [Symbol],
pub constants: &'static [(&'static str, usize)],
}Available on crate feature
codegen only.Expand description
A domain as generated code sees it. All names are lowercase.
Fields§
§domain: &'static strThe domain’s name.
types: &'static [TypeSignature]The types, each before its subtypes, with each subtree contiguous.
The first is object.
predicates: &'static [Symbol]The predicates, including derived ones.
functions: &'static [Symbol]The numeric functions, without total-cost.
constants: &'static [(&'static str, usize)]The constants, with the index of their type.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Signature
impl Freeze for Signature
impl Move for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnsafeUnpin for Signature
impl UnwindSafe for Signature
Blanket Implementations§
Source§impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
Source§fn accept_mut(&self, v: &mut V) -> O
fn accept_mut(&self, v: &mut V) -> O
Lets the mutable visitor
v visit self.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