Struct opendp::dom::OptionNullDomain [−][src]
pub struct OptionNullDomain<D: Domain> {
pub element_domain: D,
}
Expand description
A domain that represents nullity via the Option type.
The value inside is non-null by definition.
Transformations should not emit data that can take on null-values at runtime.
For example, it is fine to have an OptionDomain<AllDomain
Fields
element_domain: D
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<D> RefUnwindSafe for OptionNullDomain<D> where
D: RefUnwindSafe,
impl<D> Send for OptionNullDomain<D> where
D: Send,
impl<D> Sync for OptionNullDomain<D> where
D: Sync,
impl<D> Unpin for OptionNullDomain<D> where
D: Unpin,
impl<D> UnwindSafe for OptionNullDomain<D> where
D: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.