pub struct PlanCombinator {
pub name: &'static str,
pub min_children: usize,
pub max_children: usize,
pub keywords: &'static [&'static str],
pub executable_now: bool,
}Expand description
Static description of a plan combinator: its name and structural constraints.
Fields§
§name: &'static strCombinator name without the plan/ prefix (for example race).
min_children: usizeMinimum number of child plans the combinator accepts.
max_children: usizeMaximum number of child plans the combinator accepts.
keywords: &'static [&'static str]Keyword argument names the combinator recognizes.
executable_now: boolWhether the combinator can be executed by the current evaluator.
Trait Implementations§
Source§impl Clone for PlanCombinator
impl Clone for PlanCombinator
Source§fn clone(&self) -> PlanCombinator
fn clone(&self) -> PlanCombinator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlanCombinator
impl Debug for PlanCombinator
impl Eq for PlanCombinator
Source§impl PartialEq for PlanCombinator
impl PartialEq for PlanCombinator
Source§fn eq(&self, other: &PlanCombinator) -> bool
fn eq(&self, other: &PlanCombinator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlanCombinator
Auto Trait Implementations§
impl Freeze for PlanCombinator
impl RefUnwindSafe for PlanCombinator
impl Send for PlanCombinator
impl Sync for PlanCombinator
impl Unpin for PlanCombinator
impl UnsafeUnpin for PlanCombinator
impl UnwindSafe for PlanCombinator
Blanket Implementations§
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