pub struct SetSlot<S: State = Empty>(PhantomData<fn() -> S>);Expand description
Represents a State that has IsSet implemented for State::Slot.
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 SetSlot<S>
impl<S> RefUnwindSafe for SetSlot<S>
impl<S> Send for SetSlot<S>
impl<S> Sync for SetSlot<S>
impl<S> Unpin for SetSlot<S>
impl<S> UnsafeUnpin for SetSlot<S>
impl<S> UnwindSafe for SetSlot<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