pub struct ValueInput<'a> {
pub slot: u32,
pub producer: BloqNodeId,
pub role: &'a ValueRole,
pub output: Option<ObservableOutput>,
}Expand description
One Value input of a node.
This records the producer wired into slot and the edge’s role.
ValueRole::FeedbackFold marks runtime Pauli-frame bookkeeping;
ValueRole::ReadoutFold carries an earlier corrected parity. Both are
omitted from the new decoder query’s physical symptoms.
Fields§
§slot: u32Consumer input slot.
producer: BloqNodeIdValue producer.
role: &'a ValueRoleEdge provenance.
output: Option<ObservableOutput>Selected Boolean output, or None for structural recipe composition.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ValueInput<'a>
impl<'a> Clone for ValueInput<'a>
Source§fn clone(&self) -> ValueInput<'a>
fn clone(&self) -> ValueInput<'a>
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 moreimpl<'a> Copy for ValueInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for ValueInput<'a>
impl<'a> RefUnwindSafe for ValueInput<'a>
impl<'a> Send for ValueInput<'a>
impl<'a> Sync for ValueInput<'a>
impl<'a> Unpin for ValueInput<'a>
impl<'a> UnsafeUnpin for ValueInput<'a>
impl<'a> UnwindSafe for ValueInput<'a>
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