pub struct Iterator { /* private fields */ }
Expand description
An owning iterator.
Implementations§
source§impl Iterator
impl Iterator
sourcepub fn from<T>(name: &'static str, iter: T) -> Selfwhere
T: IteratorTrait,
pub fn from<T>(name: &'static str, iter: T) -> Selfwhere
T: IteratorTrait,
Construct a new owning iterator.
The name is only intended to identify the iterator in case of errors.
sourcepub fn from_double_ended<T>(name: &'static str, iter: T) -> Selfwhere
T: DoubleEndedIteratorTrait,
pub fn from_double_ended<T>(name: &'static str, iter: T) -> Selfwhere
T: DoubleEndedIteratorTrait,
Construct a new double-ended owning iterator, with a human-readable name.
The name is only intended to identify the iterator in case of errors.
Trait Implementations§
source§impl FromValue for Iterator
impl FromValue for Iterator
source§fn from_value(value: Value) -> VmResult<Self>
fn from_value(value: Value) -> VmResult<Self>
Try to convert to the given type, from the given value.
source§impl InstallWith for Iterator
impl InstallWith for Iterator
source§fn install_with(module: &mut Module) -> Result<(), ContextError>
fn install_with(module: &mut Module) -> Result<(), ContextError>
Hook to install more things into the module.
source§impl MaybeTypeOf for Iterator
impl MaybeTypeOf for Iterator
source§fn maybe_type_of() -> Option<FullTypeOf>
fn maybe_type_of() -> Option<FullTypeOf>
Type information for the given type.
source§impl UnsafeToMut for Iterator
impl UnsafeToMut for Iterator
Auto Trait Implementations§
impl !RefUnwindSafe for Iterator
impl !Send for Iterator
impl !Sync for Iterator
impl Unpin for Iterator
impl !UnwindSafe for Iterator
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