Trait solana_sdk::account_info::IntoAccountInfo[][src]

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

Constructs an AccountInfo from self, used in conversion implementations.

Required methods

pub fn into_account_info(self) -> AccountInfo<'a>[src]

Loading content...

Implementations on Foreign Types

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

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

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

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

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

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

Loading content...

Implementors

Loading content...