Struct spaces::EmptySpace [−][src]
pub struct EmptySpace;
An empty space.
Trait Implementations
impl Clone for EmptySpace
[src]
impl Clone for EmptySpace
fn clone(&self) -> EmptySpace
[src]
fn clone(&self) -> EmptySpace
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for EmptySpace
[src]
impl Copy for EmptySpace
impl PartialEq for EmptySpace
[src]
impl PartialEq for EmptySpace
fn eq(&self, other: &EmptySpace) -> bool
[src]
fn eq(&self, other: &EmptySpace) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for EmptySpace
[src]
impl Eq for EmptySpace
impl Debug for EmptySpace
[src]
impl Debug for EmptySpace
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Space for EmptySpace
[src]
impl Space for EmptySpace
type Value = ()
The data representation of the space.
fn dim(&self) -> usize
[src]
fn dim(&self) -> usize
Return the number of dimensions in the space.
fn card(&self) -> Card
[src]
fn card(&self) -> Card
Return the number of linear combinations of values in the space.
fn sample<R: Rng + ?Sized>(&self, _: &mut R)
[src]
fn sample<R: Rng + ?Sized>(&self, _: &mut R)
Generate a random sample from the space.
impl<T> Surjection<T, ()> for EmptySpace
[src]
impl<T> Surjection<T, ()> for EmptySpace
Auto Trait Implementations
impl Send for EmptySpace
impl Send for EmptySpace
impl Sync for EmptySpace
impl Sync for EmptySpace