Enum anchor_syn::SysvarTy
source · pub enum SysvarTy {
Clock,
Rent,
EpochSchedule,
Fees,
RecentBlockhashes,
SlotHashes,
SlotHistory,
StakeHistory,
Instructions,
Rewards,
}
Variants§
Clock
Rent
EpochSchedule
Fees
RecentBlockhashes
SlotHashes
SlotHistory
StakeHistory
Instructions
Rewards
Trait Implementations§
source§impl PartialEq for SysvarTy
impl PartialEq for SysvarTy
impl Eq for SysvarTy
impl StructuralPartialEq for SysvarTy
Auto Trait Implementations§
impl Freeze for SysvarTy
impl RefUnwindSafe for SysvarTy
impl Send for SysvarTy
impl Sync for SysvarTy
impl Unpin for SysvarTy
impl UnwindSafe for SysvarTy
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.