pub enum ForSourceKind {
Producer(String),
Comprehension(Comprehension),
Derived {
base: String,
filter: Option<String>,
order: Option<String>,
},
}Expand description
The parsed form of a for source.
Variants§
Producer(String)
A bare identifier naming a Streamer wire bound by a for
expression elsewhere in scope.
Comprehension(Comprehension)
Comprehension text, parsed to the algebra AST.
Derived
A derivation of a bound producer: base where <pred>,
base order <spec>, or both (SRD 113 §3.1). Resolved against
the producer at compile time.
Trait Implementations§
Source§impl Clone for ForSourceKind
impl Clone for ForSourceKind
Source§fn clone(&self) -> ForSourceKind
fn clone(&self) -> ForSourceKind
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 moreAuto Trait Implementations§
impl Freeze for ForSourceKind
impl RefUnwindSafe for ForSourceKind
impl Send for ForSourceKind
impl Sync for ForSourceKind
impl Unpin for ForSourceKind
impl UnsafeUnpin for ForSourceKind
impl UnwindSafe for ForSourceKind
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