[−][src]Trait iced_native::widget::text_input::Renderer
The renderer of a TextInput.
Your renderer will need to implement this trait before being
able to use a TextInput in your user interface.
Required methods
fn default_size(&self) -> u16
Returns the default size of the text of the TextInput.
fn draw(
&mut self,
bounds: Rectangle,
text_bounds: Rectangle,
cursor_position: Point,
size: u16,
placeholder: &str,
value: &Value,
state: &State
) -> Self::Output
&mut self,
bounds: Rectangle,
text_bounds: Rectangle,
cursor_position: Point,
size: u16,
placeholder: &str,
value: &Value,
state: &State
) -> Self::Output