[−][src]Struct interact::climber::Climber
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]
&mut self,
dynvalue: &'b dyn Access
) -> Result<NodeTree, ClimbError>
pub fn general_access_mut<'b>(
&mut self,
dynvalue: &'b mut dyn Access
) -> Result<NodeTree, ClimbError>
[src]
&mut self,
dynvalue: &'b mut dyn Access
) -> Result<NodeTree, ClimbError>
pub fn check_field_access_immut<'c, 'b>(
&mut self,
reflect: &'c EnumOrStruct<'b>
) -> Result<Option<NodeTree>, ClimbError>
[src]
&mut self,
reflect: &'c EnumOrStruct<'b>
) -> Result<Option<NodeTree>, ClimbError>
pub fn check_field_access_mut<'c, 'b>(
&mut self,
reflect: EnumOrStructMut<'c, 'b>
) -> Result<Option<NodeTree>, ClimbError>
[src]
&mut self,
reflect: EnumOrStructMut<'c, 'b>
) -> Result<Option<NodeTree>, ClimbError>
pub fn mutex_handling<'b>(
&mut self,
m: &'b Mutex<dyn Access + 'b>
) -> Result<NodeTree, ClimbError>
[src]
&mut self,
m: &'b Mutex<dyn Access + 'b>
) -> Result<NodeTree, ClimbError>
pub fn refcell_handling<'b>(
&mut self,
m: &'b RefCell<dyn Access + 'b>
) -> Result<NodeTree, ClimbError>
[src]
&mut self,
m: &'b RefCell<dyn Access + 'b>
) -> Result<NodeTree, ClimbError>
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,