Trait solana_program::account_info::IntoAccountInfo[][src]

pub trait IntoAccountInfo<'a> {
    fn into_account_info(self) -> AccountInfo<'a>;
}

Constructs an AccountInfo from self, used in conversion implementations.

Required methods

Loading content...

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

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.

impl<'a, T: Account> IntoAccountInfo<'a> for &'a mut (Pubkey, T)[src]

Convert &’a mut (Pubkey, T) where T: Account into an AccountInfo.

Loading content...

Implementors

Loading content...