Struct spaces::EmptySpace
[−]
[src]
pub struct EmptySpace;
An empty space.
Trait Implementations
impl Clone for EmptySpace
[src]
fn clone(&self) -> EmptySpace
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for EmptySpace
[src]
impl PartialEq for EmptySpace
[src]
fn eq(&self, __arg_0: &EmptySpace) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for EmptySpace
[src]
impl Debug for EmptySpace
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Space for EmptySpace
[src]
type Value = ()
The data representation of the space.
fn dim(&self) -> usize
[src]
Return the number of dimensions in the space.
fn span(&self) -> Span
[src]
Return the number of linear combinations of values in the space.
fn sample(&self, _: &mut ThreadRng)
[src]
Generate a random sample from the space.