pub struct QuantumAlternative {
pub when: Box<[(BitId, bool)]>,
pub stream: QuantumStream,
pub selected_records: Box<[RecordId]>,
pub excluded_records: Box<[RecordId]>,
pub detectors: Box<[RecordParity]>,
pub restarts: Box<[RecordParity]>,
}Fields§
§when: Box<[(BitId, bool)]>Exact input assignment selecting this alternative.
stream: QuantumStream§selected_records: Box<[RecordId]>Records produced by this selected membership.
excluded_records: Box<[RecordId]>Records deliberately unavailable under this selected membership.
detectors: Box<[RecordParity]>§restarts: Box<[RecordParity]>Trait Implementations§
Source§impl Clone for QuantumAlternative
impl Clone for QuantumAlternative
Source§fn clone(&self) -> QuantumAlternative
fn clone(&self) -> QuantumAlternative
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QuantumAlternative
impl Debug for QuantumAlternative
Source§impl Default for QuantumAlternative
impl Default for QuantumAlternative
Source§fn default() -> QuantumAlternative
fn default() -> QuantumAlternative
Returns the “default value” for a type. Read more
Source§impl PartialEq for QuantumAlternative
impl PartialEq for QuantumAlternative
Source§impl Serialize for QuantumAlternative
impl Serialize for QuantumAlternative
impl StructuralPartialEq for QuantumAlternative
Auto Trait Implementations§
impl Freeze for QuantumAlternative
impl RefUnwindSafe for QuantumAlternative
impl Send for QuantumAlternative
impl Sync for QuantumAlternative
impl Unpin for QuantumAlternative
impl UnsafeUnpin for QuantumAlternative
impl UnwindSafe for QuantumAlternative
Blanket Implementations§
§impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
fn assign_index(&mut self, index: usize, to: bool)
fn negate_index(&mut self, index: usize)
fn clear_bits(&mut self)
fn assign_random(
&mut self,
bit_count: usize,
random_number_generator: &mut impl RngExt,
)where
BorrowedSelf: BitLength,
§impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
fn assign(&mut self, other: &Other)
fn bitxor_assign(&mut self, other: &Other)
fn bitand_assign(&mut self, other: &Other)
fn bitor_assign(&mut self, other: &Other)
§impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
§impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
fn index(&self, index: usize) -> bool
fn weight(&self) -> usize
fn parity(&self) -> bool
fn is_zero(&self) -> bool
fn is_unit(&self, index: usize) -> bool
fn support<'a>(&'a self) -> impl SortedIteratorwhere
BorrowedSelf: 'a,
fn max_support(&self) -> Option<usize>
fn min_support(&self) -> Option<usize>
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