pub struct ChipEditOutput {
pub response: Response,
pub cursor_range: Option<CursorRange>,
}Expand description
Represents the output of a ChipEdit widget.
Fields§
§response: ResponseThe response from the widget.
As a single ChipEdit can have multiple TextEdits in it,
the Response is the Response::union of all the containing
responses.
cursor_range: Option<CursorRange>The range of the cursor within the text.
Implementations§
Source§impl ChipEditOutput
impl ChipEditOutput
Trait Implementations§
Source§impl From<Response> for ChipEditOutput
impl From<Response> for ChipEditOutput
Source§impl From<TextEditOutput> for ChipEditOutput
impl From<TextEditOutput> for ChipEditOutput
Source§fn from(value: TextEditOutput) -> Self
fn from(value: TextEditOutput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChipEditOutput
impl !RefUnwindSafe for ChipEditOutput
impl Send for ChipEditOutput
impl Sync for ChipEditOutput
impl Unpin for ChipEditOutput
impl !UnwindSafe for ChipEditOutput
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