pub struct State<P: Paragraph>(pub Plain<P>);
Expand description
The internal state of a Text
widget.
Tuple Fields§
§0: Plain<P>
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for State<P>where
P: Freeze,
impl<P> RefUnwindSafe for State<P>where
P: RefUnwindSafe,
impl<P> Send for State<P>where
P: Send,
impl<P> Sync for State<P>where
P: Sync,
impl<P> Unpin for State<P>where
P: Unpin,
impl<P> UnwindSafe for State<P>where
P: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.