Enum conrod::widget::text_edit::Cursor
[−]
[src]
pub enum Cursor {
Idx(Index),
Selection {
start: Index,
end: Index,
},
}The position of the Cursor over the text.
Variants
Idx(Index)The cursor is at the given character index.
SelectionThe cursor is a selection between these two indices.
Fields of Selection
start: Index | The |
end: Index | The The |
Trait Implementations
impl Clone for Cursor[src]
fn clone(&self) -> Cursor[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Cursor[src]
impl Debug for Cursor[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more