[][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)].

Methods

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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

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

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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