[][src]Struct gmorph::enc::Enc

pub struct Enc { /* fields omitted */ }

Wrapper type for lifting u32 type to FHE compatible form

All FHE operations (currently, addition and multiplication) are defined in terms of this type.

Trait Implementations

impl Add<Enc> for Enc[src]

type Output = Self

The resulting type after applying the + operator.

impl AddAssign<Enc> for Enc[src]

impl Clone for Enc[src]

impl Copy for Enc[src]

impl Debug for Enc[src]

impl Decrypt for Enc[src]

type Output = u32

impl<'a> Decrypt for &'a Enc[src]

type Output = u32

impl<'de> Deserialize<'de> for Enc[src]

impl Display for Enc[src]

impl Encrypt for Enc[src]

type Output = Enc

impl<'a> Encrypt for &'a Enc[src]

type Output = Enc

impl Mul<Enc> for Enc[src]

type Output = Self

The resulting type after applying the * operator.

impl MulAssign<Enc> for Enc[src]

impl PartialEq<Enc> for Enc[src]

impl Serialize for Enc[src]

impl StructuralPartialEq for Enc[src]

Auto Trait Implementations

impl RefUnwindSafe for Enc

impl Send for Enc

impl Sync for Enc

impl Unpin for Enc

impl UnwindSafe for Enc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, Right> ClosedAdd<Right> for T where
    T: Add<Right, Output = T> + AddAssign<Right>, 
[src]

impl<T, Right> ClosedMul<Right> for T where
    T: Mul<Right, Output = T> + MulAssign<Right>, 
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,