pub struct Phase {
pub id: String,
pub lets: Vec<LetBinding>,
pub active: Vec<String>,
}Expand description
A <phase id="..."><active pattern="..."/>...</phase> — a named,
selectable subset of patterns. See plan/05-phase-selection.md for how
Schema.default_phase/Schema.phases feed into
crate::engine::evaluate_with_phase.
Fields§
§id: String§lets: Vec<LetBinding>§active: Vec<String>The Pattern::ids this phase activates, in document order (from
this phase’s <active pattern="..."> children).
Trait Implementations§
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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