[][src]Struct interact::climber::Climber

pub struct Climber<'a> { /* fields omitted */ }

Climber represents the full state of evaluation of Interact expressions. It is used within the impls of the Access trait, and most likely does not require direct references from Interact's crate users, unless manually providing impls of Access not via the #[derive(Interact)].

Implementations

impl<'a> Climber<'a>[src]

pub fn new(max_nodes: usize, probe_only: bool, tokens: &'a [Token<'a>]) -> Self[src]

pub fn general_access_immut<'b>(
    &mut self,
    dynvalue: &'b dyn Access
) -> Result<NodeTree, ClimbError>
[src]

pub fn general_access_mut<'b>(
    &mut self,
    dynvalue: &'b mut dyn Access
) -> Result<NodeTree, ClimbError>
[src]

pub fn check_field_access_immut<'c, 'b>(
    &mut self,
    reflect: &'c EnumOrStruct<'b>
) -> Result<Option<NodeTree>, ClimbError>
[src]

pub fn check_field_access_mut<'c, 'b>(
    &mut self,
    reflect: EnumOrStructMut<'c, 'b>
) -> Result<Option<NodeTree>, ClimbError>
[src]

pub fn mutex_handling<'b>(
    &mut self,
    m: &'b Mutex<dyn Access + 'b>
) -> Result<NodeTree, ClimbError>
[src]

pub fn refcell_handling<'b>(
    &mut self,
    m: &'b RefCell<dyn Access + 'b>
) -> Result<NodeTree, ClimbError>
[src]

pub fn open_bracket(&mut self) -> bool[src]

pub fn close_bracket(&mut self) -> Result<(), ClimbError>[src]

pub fn is_probe_only(&self) -> bool[src]

pub fn convert_to_assist(self) -> (Assist<Vec<Token<'static>>>, usize)[src]

pub fn borrow_tracker<'b>(&'b mut self) -> Tracker<'a, 'b>[src]

Trait Implementations

impl<'a> Clone for Climber<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Climber<'a>

impl<'a> Send for Climber<'a>

impl<'a> !Sync for Climber<'a>

impl<'a> Unpin for Climber<'a>

impl<'a> !UnwindSafe for Climber<'a>

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> 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.