pub struct SetMetrics<S: State = Empty>(PhantomData<fn() -> S>);Expand description
Represents a State that has IsSet implemented for State::Metrics.
The state for all other members is left the same as in the input state.
Tuple Fields§
§0: PhantomData<fn() -> S>Auto Trait Implementations§
impl<S> Freeze for SetMetrics<S>
impl<S> RefUnwindSafe for SetMetrics<S>
impl<S> Send for SetMetrics<S>
impl<S> Sync for SetMetrics<S>
impl<S> Unpin for SetMetrics<S>
impl<S> UnsafeUnpin for SetMetrics<S>
impl<S> UnwindSafe for SetMetrics<S>
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