pub struct MoveMode(/* private fields */);
Expand description
Implementations§
Source§impl MoveMode
impl MoveMode
Sourcepub const MoveAnchor: MoveMode
pub const MoveAnchor: MoveMode
Moves the anchor to the same position as the cursor itself. (C++ enum variant: MoveAnchor = 0
)
Sourcepub const KeepAnchor: MoveMode
pub const KeepAnchor: MoveMode
Keeps the anchor where it is. (C++ enum variant: KeepAnchor = 1
)
Trait Implementations§
impl Copy for MoveMode
impl Eq for MoveMode
impl StructuralPartialEq for MoveMode
Auto Trait Implementations§
impl Freeze for MoveMode
impl RefUnwindSafe for MoveMode
impl Send for MoveMode
impl Sync for MoveMode
impl Unpin for MoveMode
impl UnwindSafe for MoveMode
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