pub struct GraphPlanBuilder { /* private fields */ }Expand description
Builder for GraphPlan.
Obtain via GraphPlan::builder.
Implementations§
Source§impl GraphPlanBuilder
impl GraphPlanBuilder
Sourcepub fn ir_version(self, v: IrVersion) -> Self
pub fn ir_version(self, v: IrVersion) -> Self
Override the IR version (default: IrVersion::CURRENT).
Sourcepub fn ontology_version(self, v: impl Into<OntologyVersion>) -> Self
pub fn ontology_version(self, v: impl Into<OntologyVersion>) -> Self
Set the ontology version.
Sourcepub fn ontology_mode(self, m: OntologyMode) -> Self
pub fn ontology_mode(self, m: OntologyMode) -> Self
Set the ontology mode (default: OntologyMode::Exploratory).
Sourcepub fn feature_flag(self, flag: impl Into<String>) -> Self
pub fn feature_flag(self, flag: impl Into<String>) -> Self
Add a feature flag string.
Sourcepub fn push_op(self, op: GraphOp) -> Self
pub fn push_op(self, op: GraphOp) -> Self
Append an operator to the pipeline (owned chaining form).
Sourcepub fn push_op_mut(&mut self, op: GraphOp)
pub fn push_op_mut(&mut self, op: GraphOp)
Append an operator to the pipeline (mutable-reference form).
Prefer this inside loops or helper functions where owning self is
inconvenient.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphPlanBuilder
impl RefUnwindSafe for GraphPlanBuilder
impl Send for GraphPlanBuilder
impl Sync for GraphPlanBuilder
impl Unpin for GraphPlanBuilder
impl UnsafeUnpin for GraphPlanBuilder
impl UnwindSafe for GraphPlanBuilder
Blanket Implementations§
impl<T> Allocation for T
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