Improve docs of text_input::State::cursor
This commit is contained in:
parent
6791c0b208
commit
5e6970b615
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user