pub enum BindSource {
File {
file: String,
text: String,
},
Inline {
text: String,
},
Expr {
text: String,
},
}Expand description
what a document is bound from
Variants§
File
a JSON file, with its text as read
Inline
JSON text given in the session
Expr
an expression evaluated over the universe
Trait Implementations§
Source§impl Clone for BindSource
impl Clone for BindSource
Auto Trait Implementations§
impl Forget for BindSource
impl Freeze for BindSource
impl Move for BindSource
impl RefUnwindSafe for BindSource
impl Send for BindSource
impl Sync for BindSource
impl Unpin for BindSource
impl UnsafeUnpin for BindSource
impl UnwindSafe for BindSource
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