Struct egui::widgets::CursorPair [−][src]
Fields
primary: Cursor
When selecting with a mouse, this is where the mouse was released. When moving with e.g. shift+arrows, this is what moves. Note that the two ends can come in any order, and also be equal (no selection).
secondary: Cursor
When selecting with a mouse, this is where the mouse was first pressed. This part of the cursor does not move when shift is down.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CursorPair
impl Send for CursorPair
impl Sync for CursorPair
impl Unpin for CursorPair
impl UnwindSafe for CursorPair
Blanket Implementations
Mutably borrows from an owned value. Read more