Struct epaint::text::cursor::CCursor   [−][src]
Expand description
Character cursor
Fields
index: usizeCharacter offset (NOT byte offset!).
prefer_next_row: boolIf this cursors sits right at the border of a wrapped row break (NOT paragraph break) do we prefer the next row? This is almost always what you want, except for when explicitly clicking the end of a row or pressing the end key.
Implementations
Trait Implementations
Performs the += operation. Read more
Two CCursors are considered equal if they refer to the same character boundary,
even if one prefers the start of the next row.
Performs the -= operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for CCursor
impl UnwindSafe for CCursor
Blanket Implementations
Mutably borrows from an owned value. Read more
