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 StructuralPartialEq for Ty
Auto Trait Implementations§
impl Freeze for Ty
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.