Struct mop_blocks::Solution [−][src]
pub struct Solution<V> { /* fields omitted */ }
Methods
impl<V> Solution<V>
[src]
impl<V> Solution<V>
pub fn event(&self, idx: usize) -> EventRef<V>
[src]
pub fn event(&self, idx: usize) -> EventRef<V>
pub fn event_iter(
&self
) -> impl Iterator<Item = EventRef<V>>
[src]
pub fn event_iter(
&self
) -> impl Iterator<Item = EventRef<V>>
pub fn events(&self) -> usize
[src]
pub fn events(&self) -> usize
pub fn variables(&self) -> &[V]
[src]
pub fn variables(&self) -> &[V]
Trait Implementations
impl<V: Debug> Debug for Solution<V>
[src]
impl<V: Debug> Debug for Solution<V>
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<V: PartialEq> PartialEq for Solution<V>
[src]
impl<V: PartialEq> PartialEq for Solution<V>
fn eq(&self, other: &Solution<V>) -> bool
[src]
fn eq(&self, other: &Solution<V>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Solution<V>) -> bool
[src]
fn ne(&self, other: &Solution<V>) -> bool
This method tests for !=
.
impl<'a, V> From<SolutionRef<'a, V>> for Solution<V> where
V: Copy,
[src]
impl<'a, V> From<SolutionRef<'a, V>> for Solution<V> where
V: Copy,
fn from(from: SolutionRef<'a, V>) -> Self
[src]
fn from(from: SolutionRef<'a, V>) -> Self
Performs the conversion.