pub struct PairedWidget<'a, T> { /* private fields */ }Expand description
If you want to pair up a StatefulWidget and a Widget you need this adapter for the widget.
Implementations§
Source§impl<'a, T> PairedWidget<'a, T>
impl<'a, T> PairedWidget<'a, T>
Trait Implementations§
Source§impl<'a, T> HasScreenCursor for PairedWidget<'a, T>
impl<'a, T> HasScreenCursor for PairedWidget<'a, T>
Source§impl<'a, T> StatefulWidget for PairedWidget<'a, T>where
T: Widget,
impl<'a, T> StatefulWidget for PairedWidget<'a, T>where
T: Widget,
Auto Trait Implementations§
impl<'a, T> Freeze for PairedWidget<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for PairedWidget<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PairedWidget<'a, T>where
T: Send,
impl<'a, T> Sync for PairedWidget<'a, T>where
T: Sync,
impl<'a, T> Unpin for PairedWidget<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for PairedWidget<'a, T>where
T: 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
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