pub struct ValidatedPlans { /* private fields */ }Expand description
Quantum emission stages keyed by scoped node address.
Static stages retain an exact emission plan. Conditional stages are marked
for selected materialization. Only Bloq::validate_with_plans certifies
their full Boolean domain; Bloq::emission_plans does not.
Implementations§
Source§impl ValidatedPlans
impl ValidatedPlans
Sourcepub fn get(
&self,
path: &LevelPath,
node: BloqNodeId,
) -> Option<&NodeEmissionPlan>
pub fn get( &self, path: &LevelPath, node: BloqNodeId, ) -> Option<&NodeEmissionPlan>
A static stage’s emission plan. Conditional stages use Self::has_membership.
Sourcepub fn has_membership(&self, path: &LevelPath, node: BloqNodeId) -> bool
pub fn has_membership(&self, path: &LevelPath, node: BloqNodeId) -> bool
Whether this conditional stage requires selected materialization.
Sourcepub fn iter(
&self,
) -> impl Iterator<Item = ((&LevelPath, BloqNodeId), &NodeEmissionPlan)>
pub fn iter( &self, ) -> impl Iterator<Item = ((&LevelPath, BloqNodeId), &NodeEmissionPlan)>
Every static ((path, node), plan) entry, in unspecified order.
Trait Implementations§
Source§impl Clone for ValidatedPlans
impl Clone for ValidatedPlans
Source§fn clone(&self) -> ValidatedPlans
fn clone(&self) -> ValidatedPlans
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 ValidatedPlans
impl Debug for ValidatedPlans
Source§impl Default for ValidatedPlans
impl Default for ValidatedPlans
Source§fn default() -> ValidatedPlans
fn default() -> ValidatedPlans
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidatedPlans
impl RefUnwindSafe for ValidatedPlans
impl Send for ValidatedPlans
impl Sync for ValidatedPlans
impl Unpin for ValidatedPlans
impl UnsafeUnpin for ValidatedPlans
impl UnwindSafe for ValidatedPlans
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