Struct genevo::statistic::TimedResult
source · [−]pub struct TimedResult<U> {
pub result: U,
pub time: ProcessingTime,
}
Fields
result: U
time: ProcessingTime
Trait Implementations
sourceimpl<U: Clone> Clone for TimedResult<U>
impl<U: Clone> Clone for TimedResult<U>
sourcefn clone(&self) -> TimedResult<U>
fn clone(&self) -> TimedResult<U>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<U: Debug> Debug for TimedResult<U>
impl<U: Debug> Debug for TimedResult<U>
sourceimpl<U: PartialEq> PartialEq<TimedResult<U>> for TimedResult<U>
impl<U: PartialEq> PartialEq<TimedResult<U>> for TimedResult<U>
sourcefn eq(&self, other: &TimedResult<U>) -> bool
fn eq(&self, other: &TimedResult<U>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TimedResult<U>) -> bool
fn ne(&self, other: &TimedResult<U>) -> bool
This method tests for !=
.
impl<U> StructuralPartialEq for TimedResult<U>
Auto Trait Implementations
impl<U> RefUnwindSafe for TimedResult<U> where
U: RefUnwindSafe,
impl<U> Send for TimedResult<U> where
U: Send,
impl<U> Sync for TimedResult<U> where
U: Sync,
impl<U> Unpin for TimedResult<U> where
U: Unpin,
impl<U> UnwindSafe for TimedResult<U> where
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more