pub fn update<'a, Message>(
id: Option<Id>,
event: Event,
text_layout: Layout<'_>,
trailing_icon_layout: Option<Layout<'_>>,
cursor: Cursor,
clipboard: &mut dyn Clipboard,
shell: &mut Shell<'_, Message>,
value: &mut Value,
size: f32,
font: <Renderer as Renderer>::Font,
is_secure: bool,
is_editable: bool,
on_input: Option<&dyn Fn(String) -> Message>,
on_paste: Option<&dyn Fn(String) -> Message>,
on_submit: &Option<Message>,
on_toggle_edit: Option<&dyn Fn(bool) -> Message>,
state: impl FnOnce() -> &'a mut State,
on_start_dnd_source: Option<&dyn Fn(State) -> Message>,
dnd_id: u128,
line_height: LineHeight,
layout: Layout<'_>,
) -> Statuswhere
Message:
Clone + 'static,
Expand description