pub struct RemainingAccountViews<'a, const N: usize> { /* private fields */ }Expand description
Bounded, validated remaining account-view set.
Implementations§
Source§impl<'a, const N: usize> RemainingAccountViews<'a, N>
impl<'a, const N: usize> RemainingAccountViews<'a, N>
Sourcepub fn get(&self, index: usize) -> Option<&'a AccountView>
pub fn get(&self, index: usize) -> Option<&'a AccountView>
Return account index if it exists.
Sourcepub fn iter(&self) -> RemainingAccountViewIter<'_, 'a, N> ⓘ
pub fn iter(&self) -> RemainingAccountViewIter<'_, 'a, N> ⓘ
Iterate over the parsed account views.
Auto Trait Implementations§
impl<'a, const N: usize> Freeze for RemainingAccountViews<'a, N>
impl<'a, const N: usize> RefUnwindSafe for RemainingAccountViews<'a, N>
impl<'a, const N: usize> Send for RemainingAccountViews<'a, N>
impl<'a, const N: usize> Sync for RemainingAccountViews<'a, N>
impl<'a, const N: usize> Unpin for RemainingAccountViews<'a, N>
impl<'a, const N: usize> UnsafeUnpin for RemainingAccountViews<'a, N>
impl<'a, const N: usize> UnwindSafe for RemainingAccountViews<'a, N>
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