pub struct RawAccountIndex {
pub original_index: usize,
pub duplicate_of: Option<usize>,
}Expand description
Metadata for one parsed account slot in the loader input.
Fields§
§original_index: usizeIndex of this slot in the original loader account array.
duplicate_of: Option<usize>Canonical account index this slot resolves to, if duplicated.
Implementations§
Source§impl RawAccountIndex
impl RawAccountIndex
Sourcepub const fn is_duplicate(&self) -> bool
pub const fn is_duplicate(&self) -> bool
Whether this slot is a duplicate reference to an earlier account.
Trait Implementations§
Source§impl Clone for RawAccountIndex
impl Clone for RawAccountIndex
Source§fn clone(&self) -> RawAccountIndex
fn clone(&self) -> RawAccountIndex
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 moreSource§impl Debug for RawAccountIndex
impl Debug for RawAccountIndex
Source§impl PartialEq for RawAccountIndex
impl PartialEq for RawAccountIndex
impl Copy for RawAccountIndex
impl Eq for RawAccountIndex
impl StructuralPartialEq for RawAccountIndex
Auto Trait Implementations§
impl Freeze for RawAccountIndex
impl RefUnwindSafe for RawAccountIndex
impl Send for RawAccountIndex
impl Sync for RawAccountIndex
impl Unpin for RawAccountIndex
impl UnsafeUnpin for RawAccountIndex
impl UnwindSafe for RawAccountIndex
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