pub struct Operand<'a, P: Paragraph> {
pub paragraph: &'a mut Plain<P>,
pub layout: Layout,
pub selectable: bool,
}Expand description
The state of a widget with text, operated on by super::Operation::text.
Fields§
§paragraph: &'a mut Plain<P>The Paragraph of the widget.
layout: LayoutThe layout of the widget.
selectable: boolWhether the text of the widget can be selected.
Trait Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for Operand<'a, P>
impl<'a, P> RefUnwindSafe for Operand<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for Operand<'a, P>where
P: Send,
impl<'a, P> Sync for Operand<'a, P>where
P: Sync,
impl<'a, P> Unpin for Operand<'a, P>
impl<'a, P> UnsafeUnpin for Operand<'a, P>
impl<'a, P> !UnwindSafe for Operand<'a, P>
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