pub enum Input {
JsonEvents,
ParserEvents,
}Expand description
What a program’s export [input] reads: the protocol the host pushes
into the program’s sink, which the host declares when it compiles the
program.
Variants§
JsonEvents
JsonEvents/1, a document’s events, into Program::sink: the
default.
ParserEvents
ParserEvents/1, the parser’s rule passes, into
Program::parser_sink: what a transducer part reads, through
parser-events.
Implementations§
Trait Implementations§
impl Copy for Input
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Forget for Input
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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.