[−][src]Struct interact::Root
A temporary binder of RootSend
and RootLocal
dictionaries, used for providing a unified
dictionary to the user.
Fields
send: Option<&'a mut RootSend>
local: Option<&'b mut RootLocal>
Methods
impl<'a, 'b> Root<'a, 'b>
[src]
pub fn probe(
&mut self,
path_str: &str
) -> (Result<NodeTree, ClimbError>, Assist<String>)
[src]
&mut self,
path_str: &str
) -> (Result<NodeTree, ClimbError>, Assist<String>)
Probe a path, checking if it is valid. If it contains a function name, it will not be
called. If it contains an assignment, the assignment will not take place but the parameters
value will check for Deser
deserialization.
This call may block the current thread until ReflectIndirect
evaluation is resolved, and
it may block because some fields, depending on the types and usage, could be behind a
Mutex
lock.
pub fn access(
&mut self,
path_str: &str
) -> (Result<NodeTree, ClimbError>, Assist<String>)
[src]
&mut self,
path_str: &str
) -> (Result<NodeTree, ClimbError>, Assist<String>)
Perform evaluation of the provided path. This may perform assignments, or call user-defined
functions via the #[interact(...)]
type attribute.
This call may block the current thread until ReflectIndirect
evaluation is resolved, and
it may block because some fields, depending on the types and usage, could be behind a
Mutex
lock.
pub fn keys(&self) -> Vec<&'static str>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,