pub struct GateNaturality {
pub gate: LogicalGate,
pub holds: bool,
pub program_len: usize,
pub witness: Option<String>,
}Expand description
One gate’s exact naturality verdict.
Fields§
§gate: LogicalGateThe gate.
holds: boolWhether the square commutes.
program_len: usizeThe emitted program’s length.
witness: Option<String>What went wrong, when it did.
Trait Implementations§
Source§impl Clone for GateNaturality
impl Clone for GateNaturality
Source§fn clone(&self) -> GateNaturality
fn clone(&self) -> GateNaturality
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 GateNaturality
impl Debug for GateNaturality
impl Eq for GateNaturality
Source§impl PartialEq for GateNaturality
impl PartialEq for GateNaturality
impl StructuralPartialEq for GateNaturality
Auto Trait Implementations§
impl Freeze for GateNaturality
impl RefUnwindSafe for GateNaturality
impl Send for GateNaturality
impl Sync for GateNaturality
impl Unpin for GateNaturality
impl UnsafeUnpin for GateNaturality
impl UnwindSafe for GateNaturality
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