pub struct BlockRect {
pub first_line: usize,
pub last_line: usize,
pub left_cell: DisplayColumn,
pub right_cell: DisplayColumn,
}Expand description
The ctrl-v rectangle (0017): line span by buffer index, cell span by LineLayout columns — named fields, not a naked mixed-unit tuple.
Fields§
§first_line: usize§last_line: usize§left_cell: DisplayColumn§right_cell: DisplayColumnTrait Implementations§
impl Copy for BlockRect
impl Eq for BlockRect
impl StructuralPartialEq for BlockRect
Auto Trait Implementations§
impl Freeze for BlockRect
impl RefUnwindSafe for BlockRect
impl Send for BlockRect
impl Sync for BlockRect
impl Unpin for BlockRect
impl UnsafeUnpin for BlockRect
impl UnwindSafe for BlockRect
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.