Expand description
Trait for fully homomorphic equality test.
The standard trait std::cmp::PartialEq can not be used has it requires to return a bool.
This means that to compare ciphertext to another ciphertext or a scalar,
for equality, one cannot use the standard operator ==
but rather, use
the function directly.
Required Associated Types
Required Methods
Implementors
sourceimpl<P> FheEq<u8> for GenericShortInt<P>where
P: ShortIntegerParameter,
P::Id: WithGlobalKey<Key = ShortIntegerServerKey<P>>,
Available on crate feature shortints
only.
impl<P> FheEq<u8> for GenericShortInt<P>where
P: ShortIntegerParameter,
P::Id: WithGlobalKey<Key = ShortIntegerServerKey<P>>,
Available on crate feature
shortints
only.type Output = GenericShortInt<P>
sourceimpl<P, B> FheEq<B> for GenericShortInt<P>where
B: Borrow<Self>,
P: ShortIntegerParameter,
P::Id: WithGlobalKey<Key = ShortIntegerServerKey<P>>,
Available on crate feature shortints
only.
impl<P, B> FheEq<B> for GenericShortInt<P>where
B: Borrow<Self>,
P: ShortIntegerParameter,
P::Id: WithGlobalKey<Key = ShortIntegerServerKey<P>>,
Available on crate feature
shortints
only.