pub enum GateKind {
And,
Or,
Xor,
}Expand description
Kind of a logical gate in a Circuit
Variants§
Trait Implementations§
impl Copy for GateKind
impl Eq for GateKind
Source§impl Ord for GateKind
impl Ord for GateKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for GateKind
impl PartialOrd for GateKind
impl StructuralPartialEq for GateKind
Auto Trait Implementations§
impl Freeze for GateKind
impl RefUnwindSafe for GateKind
impl Send for GateKind
impl Sync for GateKind
impl Unpin for GateKind
impl UnsafeUnpin for GateKind
impl UnwindSafe for GateKind
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