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