pub struct Rule<'a, K> {
pub parts: Vec<Part<'a, K>>,
}Expand description
A parsed rule: its parts in the order written.
Fields§
§parts: Vec<Part<'a, K>>The parts joined by &; a parsed rule has at least one.
Implementations§
Trait Implementations§
impl<'a, K: Eq> Eq for Rule<'a, K>
impl<'a, K: PartialEq> StructuralPartialEq for Rule<'a, K>
Auto Trait Implementations§
impl<'a, K> Forget for Rule<'a, K>
impl<'a, K> Freeze for Rule<'a, K>
impl<'a, K> Move for Rule<'a, K>
impl<'a, K> RefUnwindSafe for Rule<'a, K>
impl<'a, K> Send for Rule<'a, K>
impl<'a, K> Sync for Rule<'a, K>
impl<'a, K> Unpin for Rule<'a, K>
impl<'a, K> UnsafeUnpin for Rule<'a, K>
impl<'a, K> UnwindSafe for Rule<'a, K>
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