pub enum Assoc {
Before,
After,
}Expand description
Which side of an insertion a mapped position lands on (ADR-0006 §2).
Only matters when text is inserted at exactly the position being mapped. Pending
proposal anchors always map with Assoc::After, so agent text lands after text the
human already typed there.
Variants§
Trait Implementations§
impl Copy for Assoc
impl Eq for Assoc
impl StructuralPartialEq for Assoc
Auto Trait Implementations§
impl Freeze for Assoc
impl RefUnwindSafe for Assoc
impl Send for Assoc
impl Sync for Assoc
impl Unpin for Assoc
impl UnsafeUnpin for Assoc
impl UnwindSafe for Assoc
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