pub trait BuildTerms: Sized {
// Required methods
fn named_tempid<I>(&mut self, name: I) -> Arc<TempId> ⓘ
where I: Into<String>;
fn describe_tempid(self, name: &str) -> EntityBuilder<Self>;
fn describe<E>(self, entity: E) -> EntityBuilder<Self>
where E: Into<EntityPlace<TypedValue>>;
fn add<E, A, V>(&mut self, e: E, a: A, v: V) -> Result<(), MentatError>
where E: Into<EntityPlace<TypedValue>>,
A: Into<AttributePlace>,
V: Into<ValuePlace<TypedValue>>;
fn retract<E, A, V>(&mut self, e: E, a: A, v: V) -> Result<(), MentatError>
where E: Into<EntityPlace<TypedValue>>,
A: Into<AttributePlace>,
V: Into<ValuePlace<TypedValue>>;
}Required Methods§
fn named_tempid<I>(&mut self, name: I) -> Arc<TempId> ⓘ
fn describe_tempid(self, name: &str) -> EntityBuilder<Self>
fn describe<E>(self, entity: E) -> EntityBuilder<Self>
fn add<E, A, V>(&mut self, e: E, a: A, v: V) -> Result<(), MentatError>
fn retract<E, A, V>(&mut self, e: E, a: A, v: V) -> Result<(), MentatError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".