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