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