Trait anchor_lang::ToAccountInfo

source ·
pub trait ToAccountInfo<'info> {
    // Required method
    fn to_account_info(&self) -> AccountInfo<'info>;
}
Expand description

Transformation to an AccountInfo struct.

Required Methods§

Implementors§

source§

impl<'info, T> ToAccountInfo<'info> for T
where T: AsRef<AccountInfo<'info>>,