Trait solana_program::account_info::IntoAccountInfo [−][src]
pub trait IntoAccountInfo<'a> {
fn into_account_info(self) -> AccountInfo<'a>;
}
Expand description
Constructs an AccountInfo
from self, used in conversion implementations.
Required methods
fn into_account_info(self) -> AccountInfo<'a>
Implementations on Foreign Types
Convert (&’a Pubkey, &’a mut T) where T: Account into an AccountInfo
Convert (&’a Pubkey, bool, &’a mut T) where T: Account into an
AccountInfo
.
Convert &’a mut (Pubkey, T) where T: Account into an AccountInfo
.