Skip to main content

ToTokenAccount

Trait ToTokenAccount 

Source
pub trait ToTokenAccount {
    // Required method
    fn to_token_account(self) -> Account;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToTokenAccount for Account

Source§

impl ToTokenAccount for AccountInfo<'_>

Implementors§