pub struct RuleSpec {
pub open: Vec<AltSpec>,
pub close: Option<Vec<AltSpec>>,
}Expand description
One emitted rule: its open alternates and, when it captures or replaces, its close alternates.
Fields§
§open: Vec<AltSpec>§close: Option<Vec<AltSpec>>Implementations§
Trait Implementations§
impl StructuralPartialEq for RuleSpec
Auto Trait Implementations§
impl Forget for RuleSpec
impl Freeze for RuleSpec
impl RefUnwindSafe for RuleSpec
impl Send for RuleSpec
impl Sync for RuleSpec
impl Unpin for RuleSpec
impl UnsafeUnpin for RuleSpec
impl UnwindSafe for RuleSpec
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