Struct opendp::dom::VectorDomain [−][src]
pub struct VectorDomain<D: Domain> {
pub element_domain: D,
}
Expand description
A Domain that contains vectors of (homogeneous) values.
Fields
element_domain: D
Implementations
Trait Implementations
impl<T> GeometricDomain for VectorDomain<AllDomain<T>> where
T: 'static + Clone + SampleTwoSidedGeometric + CheckNull,
impl<T> GeometricDomain for VectorDomain<AllDomain<T>> where
T: 'static + Clone + SampleTwoSidedGeometric + CheckNull,
type InputMetric = L1Distance<T>
type Atom = T
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 VectorDomain<D> where
D: RefUnwindSafe,
impl<D> Send for VectorDomain<D> where
D: Send,
impl<D> Sync for VectorDomain<D> where
D: Sync,
impl<D> Unpin for VectorDomain<D> where
D: Unpin,
impl<D> UnwindSafe for VectorDomain<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.