Struct access_protocol::cpi::Cpi
source · pub struct Cpi {}
Implementations§
source§impl Cpi
impl Cpi
pub fn create_account<'a>( program_id: &Pubkey, system_program: &AccountInfo<'a>, fee_payer: &AccountInfo<'a>, account_to_create: &AccountInfo<'a>, signer_seeds: &[&[u8]], space: usize ) -> ProgramResult
Auto Trait Implementations§
impl Freeze for Cpi
impl RefUnwindSafe for Cpi
impl Send for Cpi
impl Sync for Cpi
impl Unpin for Cpi
impl UnwindSafe for Cpi
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more