pub struct AnyState { /* private fields */ }Expand description
A State of any type, as the one StatefulElement holds it: its handle and the hooks
the element calls, so the element is not copied per state type. Opaque outside the framework.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for AnyState
impl Freeze for AnyState
impl Move for AnyState
impl RefUnwindSafe for AnyState
impl Send for AnyState
impl Sync for AnyState
impl Unpin for AnyState
impl UnsafeUnpin for AnyStatewhere
NonZeroU32Inner: UnsafeUnpin,
&'static StateVTable: UnsafeUnpin,
impl UnwindSafe for AnyState
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