pub struct Builtins {
pub types: Vec<String>,
pub namespaces: Vec<String>,
}Expand description
The language built-ins always in scope without an import: headline prelude
types (Array, Map, String, …) and the namespace globals (Math,
Temporal, and the JSON compiler intrinsic). Backs the {builtins} prompt
placeholder and the builtins.docs tool.
Fields§
§types: Vec<String>§namespaces: Vec<String>Auto Trait Implementations§
impl Freeze for Builtins
impl RefUnwindSafe for Builtins
impl Send for Builtins
impl Sync for Builtins
impl Unpin for Builtins
impl UnsafeUnpin for Builtins
impl UnwindSafe for Builtins
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