pub enum Shape {
Character,
Line,
Block {
width: usize,
},
}Expand description
Shape retained in selections and registers.
Variants§
Character
Preserve the selected graphemes, including any intervening line breaks.
Line
Preserve whole logical lines for linewise operations.
Block
Width in host display cells. Geometry is supplied by the host.
Trait Implementations§
impl Copy for Shape
impl Eq for Shape
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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