pub struct HasNext;
Expand description
Iterator.has_next
, can be implemented with fn (&mut self) -> T
.
Trait Implementations
impl<S> BuiltinTraitFunction<FallibleSelf<ImmutableSelf<S>, (&S,)>> for HasNext
impl<S> BuiltinTraitFunction<FallibleSelf<MutableSelf<S>, (&mut S,)>> for HasNext
impl<S> BuiltinTraitFunction<InfallibleSelf<ImmutableSelf<S>, (&S,)>> for HasNext
impl<S> BuiltinTraitFunction<InfallibleSelf<MutableSelf<S>, (&mut S,)>> for HasNext
Auto Trait Implementations
impl RefUnwindSafe for HasNext
impl Send for HasNext
impl Sync for HasNext
impl Unpin for HasNext
impl UnwindSafe for HasNext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more