Struct solana_runtime::accounts_index::RollingBitField
source · pub struct RollingBitField { /* private fields */ }
Implementations§
source§impl RollingBitField
impl RollingBitField
pub fn new(max_width: u64) -> Self
pub fn range_width(&self) -> u64
pub fn min(&self) -> Option<u64>
pub fn insert(&mut self, key: u64)
pub fn contains(&self, key: &u64) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn clear(&mut self)
pub fn max_exclusive(&self) -> u64
pub fn max_inclusive(&self) -> u64
pub fn get_all(&self) -> Vec<u64> ⓘ
Trait Implementations§
source§impl AbiExample for RollingBitField
impl AbiExample for RollingBitField
source§impl Clone for RollingBitField
impl Clone for RollingBitField
source§fn clone(&self) -> RollingBitField
fn clone(&self) -> RollingBitField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RollingBitField
impl Debug for RollingBitField
source§impl Default for RollingBitField
impl Default for RollingBitField
source§fn default() -> RollingBitField
fn default() -> RollingBitField
Returns the “default value” for a type. Read more