pub struct PairedState<'a, TS, US> {
pub first: &'a mut TS,
pub second: &'a mut US,
pub non_exhaustive: NonExhaustive,
}Fields§
§first: &'a mut TS§second: &'a mut US§non_exhaustive: NonExhaustiveImplementations§
Source§impl<'a, TS, US> PairedState<'a, TS, US>
impl<'a, TS, US> PairedState<'a, TS, US>
pub fn new(first: &'a mut TS, second: &'a mut US) -> Self
Trait Implementations§
Source§impl<TS, US> HasScreenCursor for PairedState<'_, TS, US>where
TS: HasScreenCursor,
US: HasScreenCursor,
impl<TS, US> HasScreenCursor for PairedState<'_, TS, US>where
TS: HasScreenCursor,
US: HasScreenCursor,
Source§impl<TS, US> RelocatableState for PairedState<'_, TS, US>where
TS: RelocatableState,
US: RelocatableState,
impl<TS, US> RelocatableState for PairedState<'_, TS, US>where
TS: RelocatableState,
US: RelocatableState,
Auto Trait Implementations§
impl<'a, TS, US> Freeze for PairedState<'a, TS, US>
impl<'a, TS, US> RefUnwindSafe for PairedState<'a, TS, US>where
TS: RefUnwindSafe,
US: RefUnwindSafe,
impl<'a, TS, US> Send for PairedState<'a, TS, US>
impl<'a, TS, US> Sync for PairedState<'a, TS, US>
impl<'a, TS, US> Unpin for PairedState<'a, TS, US>
impl<'a, TS, US> !UnwindSafe for PairedState<'a, TS, US>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more