[][src]Struct mop_blocks::mph::MphDefinitions

pub struct MphDefinitions<C, O, SD> { /* fields omitted */ }

Definitions for MPH

Types

  • C: Constraints Storage
  • O: Objectives Storage
  • SD: Solution Domain

Methods

impl<C, O, SD> MphDefinitions<C, O, SD>[src]

pub fn hard_cstrs(&self) -> &[C][src]

Hard constraints

pub fn name(&self) -> &str[src]

Name

pub fn objs(&self) -> &[O][src]

Objectives

pub fn solution_domain(&self) -> &SD[src]

pub fn solution_domain_mut(&mut self) -> &mut SD[src]

Trait Implementations

impl<C: Clone, O: Clone, SD: Clone> Clone for MphDefinitions<C, O, SD>[src]

impl<C: Debug, O: Debug, SD: Debug> Debug for MphDefinitions<C, O, SD>[src]

Auto Trait Implementations

impl<C, O, SD> Send for MphDefinitions<C, O, SD> where
    C: Send,
    O: Send,
    SD: Send

impl<C, O, SD> Sync for MphDefinitions<C, O, SD> where
    C: Sync,
    O: Sync,
    SD: Sync

impl<C, O, SD> Unpin for MphDefinitions<C, O, SD> where
    C: Unpin,
    O: Unpin,
    SD: Unpin

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> TraitCfg for T[src]

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.