pub struct LabelAndUpdate<T>(pub T, pub Update);Expand description
A label with the associated Update
This is basically a split Observation
Tuple Fields§
§0: T§1: UpdateTrait Implementations§
Source§impl<T> From<Observation<T>> for LabelAndUpdate<T>
impl<T> From<Observation<T>> for LabelAndUpdate<T>
Source§fn from(obs: Observation<T>) -> LabelAndUpdate<T>
fn from(obs: Observation<T>) -> LabelAndUpdate<T>
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for LabelAndUpdate<T>where
T: Freeze,
impl<T> RefUnwindSafe for LabelAndUpdate<T>where
T: RefUnwindSafe,
impl<T> Send for LabelAndUpdate<T>where
T: Send,
impl<T> Sync for LabelAndUpdate<T>where
T: Sync,
impl<T> Unpin for LabelAndUpdate<T>where
T: Unpin,
impl<T> UnsafeUnpin for LabelAndUpdate<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LabelAndUpdate<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