// The global state needs to implement clone because the widgets do, and for them to be clone
// All the generic types need to implement it as well. The global state should never in practise
// be cloned, because that would most likely be very expensive.
pubtraitGlobalState: 'static + Clone + std::fmt::Debug {}impl<T> GlobalState forTwhere T:'static + Clone + std::fmt::Debug {}