pub enum TransducePart {
Part {
entry: String,
source: String,
},
Whole(String),
}Expand description
The transducer part of an emitted grammar, or why its documents are read whole.
Variants§
Part
The part: entry is the definition it makes, <name>-transduce,
a function of the input’s parser events; source is its alchemy
text.
Whole(String)
Why the grammar’s documents are read whole.
Trait Implementations§
Source§impl Clone for TransducePart
impl Clone for TransducePart
Source§fn clone(&self) -> TransducePart
fn clone(&self) -> TransducePart
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 TransducePart
impl Debug for TransducePart
impl Eq for TransducePart
Source§impl PartialEq for TransducePart
impl PartialEq for TransducePart
impl StructuralPartialEq for TransducePart
Auto Trait Implementations§
impl Forget for TransducePart
impl Freeze for TransducePart
impl RefUnwindSafe for TransducePart
impl Send for TransducePart
impl Sync for TransducePart
impl Unpin for TransducePart
impl UnsafeUnpin for TransducePart
impl UnwindSafe for TransducePart
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.