Struct mop_blocks::SolutionRef [−][src]
pub struct SolutionRef<'a, V: 'a> { /* fields omitted */ }
Methods
impl<'a, V> SolutionRef<'a, V>
[src]
impl<'a, V> SolutionRef<'a, 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<'a, V: Debug + 'a> Debug for SolutionRef<'a, V>
[src]
impl<'a, V: Debug + 'a> Debug for SolutionRef<'a, 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<'a, V: PartialEq + 'a> PartialEq for SolutionRef<'a, V>
[src]
impl<'a, V: PartialEq + 'a> PartialEq for SolutionRef<'a, V>
fn eq(&self, other: &SolutionRef<'a, V>) -> bool
[src]
fn eq(&self, other: &SolutionRef<'a, V>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SolutionRef<'a, V>) -> bool
[src]
fn ne(&self, other: &SolutionRef<'a, V>) -> bool
This method tests for !=
.
impl<'a, V> Copy for SolutionRef<'a, V>
[src]
impl<'a, V> Copy for SolutionRef<'a, V>
impl<'a, V> Clone for SolutionRef<'a, V>
[src]
impl<'a, V> Clone for SolutionRef<'a, V>
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
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<'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.
Auto Trait Implementations
impl<'a, V> Send for SolutionRef<'a, V> where
V: Sync,
impl<'a, V> Send for SolutionRef<'a, V> where
V: Sync,
impl<'a, V> Sync for SolutionRef<'a, V> where
V: Sync,
impl<'a, V> Sync for SolutionRef<'a, V> where
V: Sync,