pub struct StatesConnection<State>{
pub from: State,
pub to: State,
}Expand description
Pair of states (“from”, “to”)
Fields§
§from: State§to: StateTrait Implementations§
Source§impl<State> Clone for StatesConnection<State>
impl<State> Clone for StatesConnection<State>
Source§fn clone(&self) -> StatesConnection<State>
fn clone(&self) -> StatesConnection<State>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<State> Debug for StatesConnection<State>
impl<State> Debug for StatesConnection<State>
Source§impl<State> Hash for StatesConnection<State>
impl<State> Hash for StatesConnection<State>
Source§impl<State> PartialEq for StatesConnection<State>
impl<State> PartialEq for StatesConnection<State>
impl<State> Copy for StatesConnection<State>
impl<State> Eq for StatesConnection<State>
impl<State> StructuralPartialEq for StatesConnection<State>
Auto Trait Implementations§
impl<State> Freeze for StatesConnection<State>where
State: Freeze,
impl<State> RefUnwindSafe for StatesConnection<State>where
State: RefUnwindSafe,
impl<State> Send for StatesConnection<State>where
State: Send,
impl<State> Sync for StatesConnection<State>where
State: Sync,
impl<State> Unpin for StatesConnection<State>where
State: Unpin,
impl<State> UnwindSafe for StatesConnection<State>where
State: UnwindSafe,
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