pub trait AnyBuilder: Send + Sync {
// Required methods
fn build(&mut self) -> Result<Statement>;
fn clone_box(&self) -> Box<dyn AnyBuilder>;
fn php_class(&self) -> &'static str;
fn as_any(&self) -> &dyn Any;
}Expand description
Any builder, as other builders and schemas take one (a subquery, a union member, a view’s query).
PHP: the abstract Utopia\Query\Builder as a parameter type.
Required Methods§
Sourcefn clone_box(&self) -> Box<dyn AnyBuilder>
fn clone_box(&self) -> Box<dyn AnyBuilder>
A boxed copy.
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".