pub struct IteratorObject(pub Box<dyn CanBeIterator>);Tuple Fields§
§0: Box<dyn CanBeIterator>Implementations§
Trait Implementations§
Source§impl Debug for IteratorObject
impl Debug for IteratorObject
Source§impl UserObject for IteratorObject
impl UserObject for IteratorObject
fn typ(&self) -> &'static str
fn get(&self, key: &str) -> Option<Value>
fn call_mut( &mut self, key: &str, args: Vec<Value>, ) -> Result<Value, Box<dyn Error>>
fn set(&mut self, key: &str, value: Value) -> Result<(), UserObjectError>
fn call(&self, key: &str, args: Vec<Value>) -> Result<Value, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for IteratorObject
impl !RefUnwindSafe for IteratorObject
impl !Send for IteratorObject
impl !Sync for IteratorObject
impl Unpin for IteratorObject
impl !UnwindSafe for IteratorObject
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