pub struct ErrorEstimate<T>(pub T);Expand description
A simple wrapper for error estimates that can be converted to UpdateData
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for ErrorEstimate<T>
impl<T: Clone> Clone for ErrorEstimate<T>
Source§fn clone(&self) -> ErrorEstimate<T>
fn clone(&self) -> ErrorEstimate<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for ErrorEstimate<T>
impl<T: Debug> Debug for ErrorEstimate<T>
Source§impl<T: Clone> From<ErrorEstimate<T>> for Option<UpdateData<T>>
impl<T: Clone> From<ErrorEstimate<T>> for Option<UpdateData<T>>
Source§fn from(estimate: ErrorEstimate<T>) -> Self
fn from(estimate: ErrorEstimate<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for ErrorEstimate<T>where
T: Freeze,
impl<T> RefUnwindSafe for ErrorEstimate<T>where
T: RefUnwindSafe,
impl<T> Send for ErrorEstimate<T>where
T: Send,
impl<T> Sync for ErrorEstimate<T>where
T: Sync,
impl<T> Unpin for ErrorEstimate<T>where
T: Unpin,
impl<T> UnwindSafe for ErrorEstimate<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more