pub struct RemovableChipResponse {
pub response: Response,
pub removed: bool,
}Expand description
The result of rendering a RemovableChip.
Fields§
§response: ResponseOuter Response covering the whole chip rect. Use this to react
to hover, click-outside, etc.
removed: booltrue when the user clicked the × button or pressed Escape on
an empty editor. The caller decides whether to clear the binding,
drop the chip, or otherwise react.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RemovableChipResponse
impl !RefUnwindSafe for RemovableChipResponse
impl Send for RemovableChipResponse
impl Sync for RemovableChipResponse
impl Unpin for RemovableChipResponse
impl UnsafeUnpin for RemovableChipResponse
impl !UnwindSafe for RemovableChipResponse
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