[−][src]Struct glsp::RuntimeBuilder
Implementations
impl RuntimeBuilder
[src]
pub fn new() -> RuntimeBuilder
[src]
pub fn sandboxed(self, sandboxed: bool) -> RuntimeBuilder
[src]
Sets the sandboxed
configuration option, which defaults to false
.
When sandboxed
is true
, the global functions load
,
require
and include
are not defined in the GameLisp runtime. It's still possible for Rust code to call
glsp::load
or glsp::require
.
pub fn build(self) -> Runtime
[src]
Construct a Runtime
with these settings.
Auto Trait Implementations
impl GSend for RuntimeBuilder
impl GStore for RuntimeBuilder
impl RefUnwindSafe for RuntimeBuilder
impl Send for RuntimeBuilder
impl Sync for RuntimeBuilder
impl Unpin for RuntimeBuilder
impl UnwindSafe for RuntimeBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,