Struct dyon_to_rust::Secret [] [src]

pub struct Secret<T, A> {
    pub val: T,
    pub secret: Vec<A>,
}

Wraps a value with a secret.

Fields

Methods

impl<A> Secret<bool, A>
[src]

[src]

impl<A> Secret<f64, A>
[src]

[src]

Trait Implementations

impl<A: Clone> Not for Secret<bool, A>
[src]

[src]

impl<A> From<bool> for Secret<bool, A>
[src]

[src]

Performs the conversion.

impl<A> From<f64> for Secret<f64, A>
[src]

[src]

Performs the conversion.

impl<A> BitOrAssign<bool> for Secret<bool, A>
[src]

[src]

Performs the |= operation.

impl<A> BitAndAssign<bool> for Secret<bool, A>
[src]

[src]

Performs the &= operation.

impl<T: Copy, A> SecretValue for Secret<T, A>
[src]

[src]

Returns the value of the type (not the secret).