pub struct Object<'tape, 'input>(/* private fields */);
Expand description
Wrapper around the tape that allows interacting with it via a Object
-like API.
Implementations§
source§impl<'tape, 'input> Object<'tape, 'input>
impl<'tape, 'input> Object<'tape, 'input>
sourcepub fn get<Q>(&self, k: &Q) -> Option<Value<'tape, 'input>>where
str: Borrow<Q> + Hash + Eq,
Q: ?Sized + Hash + Eq + Ord,
pub fn get<Q>(&self, k: &Q) -> Option<Value<'tape, 'input>>where str: Borrow<Q> + Hash + Eq, Q: ?Sized + Hash + Eq + Ord,
FIXME: docs
sourcepub fn iter<'i>(
&'i self
) -> Box<dyn Iterator<Item = (&'input str, Value<'tape, 'input>)> + 'i>
pub fn iter<'i>( &'i self ) -> Box<dyn Iterator<Item = (&'input str, Value<'tape, 'input>)> + 'i>
FIXME: docs
Auto Trait Implementations§
impl<'tape, 'input> RefUnwindSafe for Object<'tape, 'input>
impl<'tape, 'input> Send for Object<'tape, 'input>
impl<'tape, 'input> Sync for Object<'tape, 'input>
impl<'tape, 'input> Unpin for Object<'tape, 'input>
impl<'tape, 'input> UnwindSafe for Object<'tape, 'input>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more