Struct solana_sdk::feature_set::FeatureSet [−][src]
Expand description
FeatureSet
holds the set of currently active/inactive runtime features
Fields
active: HashMap<Pubkey, Slot>
inactive: HashSet<Pubkey>
Implementations
impl FeatureSet
[src]
impl FeatureSet
[src]pub fn is_active(&self, feature_id: &Pubkey) -> bool
[src]
pub fn activated_slot(&self, feature_id: &Pubkey) -> Option<Slot>
[src]
pub fn full_inflation_features_enabled(&self) -> HashSet<Pubkey>
[src]
pub fn full_inflation_features_enabled(&self) -> HashSet<Pubkey>
[src]List of enabled features that trigger full inflation
pub fn all_enabled() -> Self
[src]
pub fn all_enabled() -> Self
[src]All features enabled, useful for testing
Trait Implementations
impl AbiExample for FeatureSet
[src]
impl AbiExample for FeatureSet
[src]impl Clone for FeatureSet
[src]
impl Clone for FeatureSet
[src]fn clone(&self) -> FeatureSet
[src]
fn clone(&self) -> FeatureSet
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for FeatureSet
[src]
impl Debug for FeatureSet
[src]Auto Trait Implementations
impl RefUnwindSafe for FeatureSet
impl Send for FeatureSet
impl Sync for FeatureSet
impl Unpin for FeatureSet
impl UnwindSafe for FeatureSet
Blanket Implementations
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,