[][src]Struct kurobako_core::trial::Params

pub struct Params(_);

Parameter values.

Note that if a parameter is conditional and the condition didn't hold, the value of the parameter is set to NaN.

Implementations

impl Params[src]

pub const fn new(params: Vec<f64>) -> Self[src]

Makes a new Params instance.

pub fn into_vec(self) -> Vec<f64>[src]

Converts into Vec<f64>.

pub fn get(&self) -> &[f64][src]

Returns a reference to the parameter values.

Trait Implementations

impl Clone for Params[src]

impl Debug for Params[src]

impl Default for Params[src]

impl Deref for Params[src]

type Target = [f64]

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for Params[src]

impl Eq for Params[src]

impl Hash for Params[src]

impl PartialEq<Params> for Params[src]

impl Serialize for Params[src]

Auto Trait Implementations

impl RefUnwindSafe for Params

impl Send for Params

impl Sync for Params

impl Unpin for Params

impl UnwindSafe for Params

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,