builder

Function builder 

Source
pub fn builder() -> Builder<Unset, Unset>
Available on crate feature languageserver only.
Expand description

Construct a new empty builder without any configured I/O.

In order to actually call build, the input and output streams must be configured using with_input, and with_output, or a method such as with_stdio.

ยงExamples

use rune::Context;
use rune::languageserver;

let context = Context::with_default_modules()?;

let languageserver = languageserver::builder()
    .with_context(context)
    .with_stdio()
    .build()?;