Struct me3_framework::overlay::widgets::text_edit::PCursorRange
source · [−]Fields
primary: PCursor
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: PCursor
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
sourceimpl Clone for PCursorRange
impl Clone for PCursorRange
sourcefn clone(&self) -> PCursorRange
fn clone(&self) -> PCursorRange
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PCursorRange
impl Debug for PCursorRange
sourceimpl Default for PCursorRange
impl Default for PCursorRange
sourcefn default() -> PCursorRange
fn default() -> PCursorRange
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PCursorRange> for PCursorRange
impl PartialEq<PCursorRange> for PCursorRange
sourcefn eq(&self, other: &PCursorRange) -> bool
fn eq(&self, other: &PCursorRange) -> bool
impl Copy for PCursorRange
impl StructuralPartialEq for PCursorRange
Auto Trait Implementations
impl RefUnwindSafe for PCursorRange
impl Send for PCursorRange
impl Sync for PCursorRange
impl Unpin for PCursorRange
impl UnwindSafe for PCursorRange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more