pub struct SelectionRange {
pub start: (u16, u16),
pub end: (u16, u16),
pub rectangle: bool,
}Expand description
start / end are normalized by the client: row-major min/max for
a linear selection, axis-aligned bounding box for a rectangle.
Fields§
§start: (u16, u16)§end: (u16, u16)§rectangle: boolTrait Implementations§
Source§impl Clone for SelectionRange
impl Clone for SelectionRange
impl Copy for SelectionRange
Source§impl Debug for SelectionRange
impl Debug for SelectionRange
impl Eq for SelectionRange
Source§impl PartialEq for SelectionRange
impl PartialEq for SelectionRange
impl StructuralPartialEq for SelectionRange
Auto Trait Implementations§
impl Freeze for SelectionRange
impl RefUnwindSafe for SelectionRange
impl Send for SelectionRange
impl Sync for SelectionRange
impl Unpin for SelectionRange
impl UnsafeUnpin for SelectionRange
impl UnwindSafe for SelectionRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.