Struct iterative_methods::AnnotatedResult [−][src]
pub struct AnnotatedResult<T, A> { pub result: T, pub annotation: A, }
Expand description
Store a generic annotation next to the state.
Fields
result: T
annotation: A
Trait Implementations
impl<T: Clone, A: Clone> Clone for AnnotatedResult<T, A>
[src]
impl<T: Clone, A: Clone> Clone for AnnotatedResult<T, A>
[src]fn clone(&self) -> AnnotatedResult<T, A>
[src]
fn clone(&self) -> AnnotatedResult<T, A>
[src]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<T: Debug, A: Debug> Debug for AnnotatedResult<T, A>
[src]
impl<T: Debug, A: Debug> Debug for AnnotatedResult<T, A>
[src]impl<T, A> YamlDataType for AnnotatedResult<T, A> where
T: YamlDataType,
A: YamlDataType,
[src]
impl<T, A> YamlDataType for AnnotatedResult<T, A> where
T: YamlDataType,
A: YamlDataType,
[src]fn create_yaml_object(&self) -> Yaml
[src]
Auto Trait Implementations
impl<T, A> RefUnwindSafe for AnnotatedResult<T, A> where
A: RefUnwindSafe,
T: RefUnwindSafe,
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, A> Send for AnnotatedResult<T, A> where
A: Send,
T: Send,
A: Send,
T: Send,
impl<T, A> Sync for AnnotatedResult<T, A> where
A: Sync,
T: Sync,
A: Sync,
T: Sync,
impl<T, A> Unpin for AnnotatedResult<T, A> where
A: Unpin,
T: Unpin,
A: Unpin,
T: Unpin,
impl<T, A> UnwindSafe for AnnotatedResult<T, A> where
A: UnwindSafe,
T: UnwindSafe,
A: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,