[][src]Struct clarity_repl::repl::session::Session

pub struct Session { /* fields omitted */ }

Implementations

impl Session[src]

pub fn new(settings: SessionSettings) -> Session[src]

pub fn start(&mut self) -> String[src]

pub fn handle_command(&mut self, command: &str) -> Vec<String>[src]

pub fn formatted_interpretation(
    &mut self,
    snippet: String,
    name: Option<String>
) -> Result<Vec<String>, Vec<String>>
[src]

pub fn interpret(
    &mut self,
    snippet: String,
    name: Option<String>
) -> Result<(Option<String>, String), (String, Option<Diagnostic>)>
[src]

pub fn lookup_api_reference(&self, keyword: &str) -> Option<&String>[src]

pub fn get_api_reference_index(&self) -> Vec<String>[src]

Trait Implementations

impl Clone for Session[src]

impl Debug for Session[src]

Auto Trait Implementations

impl RefUnwindSafe for Session

impl Send for Session

impl Sync for Session

impl Unpin for Session

impl UnwindSafe for Session

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.