pub(crate) trait Build: Expression + Sized {
// Required method
fn build(
prost: &ExprNode,
build_child: impl Fn(&ExprNode) -> Result<BoxedExpression>,
) -> Result<Self>;
}
Expand description
Manually build the expression Self
from protobuf.
Required Methods§
sourcefn build(
prost: &ExprNode,
build_child: impl Fn(&ExprNode) -> Result<BoxedExpression>,
) -> Result<Self>
fn build( prost: &ExprNode, build_child: impl Fn(&ExprNode) -> Result<BoxedExpression>, ) -> Result<Self>
Build the expression Self
from protobuf.
To build children, call build_child
on each child instead of build_from_prost
.
Object Safety§
This trait is not object safe.