Enum dgen::interpreter::Source
source · Variants
File(PathBuf)
reference to a file on the local filesystem
String(String)
source is held entirely in memory
Builtin(&'static str, &'static str)
used for the standard libraries, which are included in the binary
Stdin
source will be read dynamically from stdin. It is an error to have more than one sourceType that uses stdin
Implementations
Trait Implementations
impl Eq for Source
impl StructuralEq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more