Improve docs of text_input::State::cursor

This commit is contained in:
Héctor Ramón Jiménez 2020-03-24 21:47:43 +01:00
parent 6791c0b208
commit 5e6970b615

View File

@ -646,7 +646,10 @@ impl State {
self.is_focused
}
/// getter for cursor
/// Returns the [`Cursor`] of the [`TextInput`].
///
/// [`Cursor`]: struct.Cursor.html
/// [`TextInput`]: struct.TextInput.html
pub fn cursor(&self) -> Cursor {
self.cursor
}