pub struct AccountIter<'a> { /* private fields */ }Implementations§
Source§impl<'a> AccountIter<'a>
impl<'a> AccountIter<'a>
pub fn new(slice: &'a [AccountInfo]) -> Self
pub fn next(&mut self) -> Result<&'a AccountInfo>
Trait Implementations§
Source§impl<'a> Clone for AccountIter<'a>
impl<'a> Clone for AccountIter<'a>
Source§fn clone(&self) -> AccountIter<'a>
fn clone(&self) -> AccountIter<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for AccountIter<'a>
impl<'a> RefUnwindSafe for AccountIter<'a>
impl<'a> !Send for AccountIter<'a>
impl<'a> !Sync for AccountIter<'a>
impl<'a> Unpin for AccountIter<'a>
impl<'a> UnwindSafe for AccountIter<'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