pub struct ConstState<M: Manager> {
pub key: String,
pub state: AnyState<M>,
}
Fields§
§key: String
§state: AnyState<M>
Implementations§
Auto Trait Implementations§
impl<M> Freeze for ConstState<M>
impl<M> RefUnwindSafe for ConstState<M>
impl<M> Send for ConstState<M>
impl<M> Sync for ConstState<M>
impl<M> Unpin for ConstState<M>
impl<M> UnwindSafe for ConstState<M>
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