Enum ext_php_rs::types::Iterable
source · pub enum Iterable<'a> {
Array(&'a ZendHashTable),
Traversable(&'a mut ZendIterator),
}
Expand description
This type represents a PHP iterable, which can be either an array or an object implementing the Traversable interface.
Variants§
Array(&'a ZendHashTable)
Traversable(&'a mut ZendIterator)
Implementations§
Trait Implementations§
source§impl<'a> IntoIterator for &'a mut Iterable<'a>
impl<'a> IntoIterator for &'a mut Iterable<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Iterable<'a>
impl<'a> !Send for Iterable<'a>
impl<'a> !Sync for Iterable<'a>
impl<'a> Unpin for Iterable<'a>
impl<'a> !UnwindSafe for Iterable<'a>
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