Enum anchor_syn::Ty
source · pub enum Ty {
AccountInfo,
UncheckedAccount,
AccountLoader(AccountLoaderTy),
Sysvar(SysvarTy),
Account(AccountTy),
Program(ProgramTy),
Interface(InterfaceTy),
InterfaceAccount(InterfaceAccountTy),
Signer,
SystemAccount,
ProgramData,
}
Variants§
AccountInfo
UncheckedAccount
AccountLoader(AccountLoaderTy)
Sysvar(SysvarTy)
Account(AccountTy)
Program(ProgramTy)
Interface(InterfaceTy)
InterfaceAccount(InterfaceAccountTy)
Signer
SystemAccount
ProgramData
Trait Implementations§
impl Eq for Ty
impl StructuralEq for Ty
impl StructuralPartialEq for Ty
Auto Trait Implementations§
impl RefUnwindSafe for Ty
impl !Send for Ty
impl !Sync for Ty
impl Unpin for Ty
impl UnwindSafe for Ty
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