Improve docs of text_input::State::cursor
This commit is contained in:
parent
6791c0b208
commit
5e6970b615
1 changed files with 4 additions and 1 deletions
|
|
@ -646,7 +646,10 @@ impl State {
|
||||||
self.is_focused
|
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 {
|
pub fn cursor(&self) -> Cursor {
|
||||||
self.cursor
|
self.cursor
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue