pub struct Section {
pub units: Vec<Unit>,
pub replaces: Vec<(Vec<u8>, Vec<u8>)>,
}Expand description
A section: one anchored pattern, plus the replace-alls that follow it.
Fields§
§units: Vec<Unit>§replaces: Vec<(Vec<u8>, Vec<u8>)>Implementations§
Trait Implementations§
impl Eq for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Forget for Section
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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