[][src]Struct preexplorer::data::Data

pub struct Data<T> where
    T: Display
{ /* fields omitted */ }

Generic multi-dimensional data.

Methods

impl<T> Data<T> where
    T: Display
[src]

pub fn new<I>(data: I, dim: usize) -> Self where
    I: IntoIterator<Item = T>, 
[src]

Create a new Data.

The parameter dim represents the dimension of the data. Consecutive values are read as part of the same data point, meaning that a set of data {x = (x_1, x_2, ..., x_d)} should be given in an IntoIterator that gives the values in the following order: x_1, x_2, ..., x_d, y_1, y_2, ..., y_d, etc.

Trait Implementations

impl<T: Clone> Clone for Data<T> where
    T: Display
[src]

impl<T> Configurable for Data<T> where
    T: Display
[src]

impl<T: Debug> Debug for Data<T> where
    T: Display
[src]

impl<T: PartialEq> PartialEq<Data<T>> for Data<T> where
    T: Display
[src]

impl<T> Plotable for Data<T> where
    T: Display + Clone
[src]

fn plot<S: Display>(&mut self, id: S) -> Result<&mut Self, SavingError>[src]

Call plot_later and retunrs error, since generic data should be plotted by hand interacting with gnuplot.

fn plot_script(&self) -> String[src]

Basic plot script with the instructions to search for the perfect plot in internet.

impl<T> Saveable for Data<T> where
    T: Display + Clone
[src]

impl<T> StructuralPartialEq for Data<T> where
    T: Display
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Data<T> where
    T: RefUnwindSafe

impl<T> Send for Data<T> where
    T: Send

impl<T> Sync for Data<T> where
    T: Sync

impl<T> Unpin for Data<T> where
    T: Unpin

impl<T> UnwindSafe for Data<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.