pub enum AllWire {
Mod2(WireMod2),
Mod3(WireMod3),
ModN(WireModQ),
}Expand description
A WireLabel that supports all possible moduli
Variants§
Mod2(WireMod2)
A mod 2 WireLabel.
Mod3(WireMod3)
A mod 3 WireLabel.
ModN(WireModQ)
A mod q WireLabel, where 3 < q < 2^16.
Trait Implementations§
Source§impl AddAssign for AllWire
impl AddAssign for AllWire
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'de> Deserialize<'de> for AllWire
impl<'de> Deserialize<'de> for AllWire
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MulAssign<u16> for AllWire
impl MulAssign<u16> for AllWire
Source§fn mul_assign(&mut self, rhs: u16)
fn mul_assign(&mut self, rhs: u16)
Performs the
*= operation. Read moreSource§impl SubAssign for AllWire
impl SubAssign for AllWire
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreSource§impl WireLabel for AllWire
impl WireLabel for AllWire
impl ArithmeticWire for AllWire
impl StructuralPartialEq for AllWire
Auto Trait Implementations§
impl Freeze for AllWire
impl RefUnwindSafe for AllWire
impl Send for AllWire
impl Sync for AllWire
impl Unpin for AllWire
impl UnsafeUnpin for AllWire
impl UnwindSafe for AllWire
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IsSameType<T> for T
impl<T> IsSameType<T> for T
§type EqualityProposition = TrueEqualityProposition
type EqualityProposition = TrueEqualityProposition
The [
EqualityProposition] that Self == T