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

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> 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.

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

Loading content...

Implementors

Loading content...