pub enum ParseSource {
Arg,
Pull,
Source,
Version,
LineIn,
Value(Expr),
Var(String),
}Expand description
PARSE sources.
Variants§
Arg
PARSE ARG — subroutine arguments
Pull
PARSE PULL — data queue or stdin
Source
PARSE SOURCE — program source info
Version
PARSE VERSION — interpreter version
LineIn
PARSE LINEIN — read from stdin
Value(Expr)
PARSE VALUE expr WITH — expression result
Var(String)
PARSE VAR name — variable contents
Trait Implementations§
Source§impl Clone for ParseSource
impl Clone for ParseSource
Source§fn clone(&self) -> ParseSource
fn clone(&self) -> ParseSource
Returns a duplicate of the value. Read more
1.0.0 · 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 ParseSource
impl RefUnwindSafe for ParseSource
impl Send for ParseSource
impl Sync for ParseSource
impl Unpin for ParseSource
impl UnsafeUnpin for ParseSource
impl UnwindSafe for ParseSource
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