Struct solana_runtime::hardened_unpack::ParallelSelector
source · pub struct ParallelSelector {
pub index: usize,
pub divisions: usize,
}
Fields§
§index: usize
§divisions: usize
Implementations§
source§impl ParallelSelector
impl ParallelSelector
pub fn select_index(&self, index: usize) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for ParallelSelector
impl Send for ParallelSelector
impl Sync for ParallelSelector
impl Unpin for ParallelSelector
impl UnwindSafe for ParallelSelector
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