Enum anchor_syn::Ty
source · [−]pub enum Ty {
Show 14 variants
AccountInfo,
UncheckedAccount,
ProgramState(ProgramStateTy),
CpiState(CpiStateTy),
ProgramAccount(ProgramAccountTy),
Loader(LoaderTy),
AccountLoader(AccountLoaderTy),
CpiAccount(CpiAccountTy),
Sysvar(SysvarTy),
Account(AccountTy),
Program(ProgramTy),
Signer,
SystemAccount,
ProgramData,
}
Variants
AccountInfo
UncheckedAccount
ProgramState(ProgramStateTy)
CpiState(CpiStateTy)
ProgramAccount(ProgramAccountTy)
Loader(LoaderTy)
AccountLoader(AccountLoaderTy)
CpiAccount(CpiAccountTy)
Sysvar(SysvarTy)
Account(AccountTy)
Program(ProgramTy)
Signer
SystemAccount
ProgramData
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more