pub enum EmptySlotCaret {
Start,
Center,
Inset(f64),
}Expand description
Where the caret sits inside an empty slot, which has no item to stand beside.
Variants§
Start
At the placeholder’s left edge.
Center
At the placeholder’s horizontal center.
Inset(f64)
This many points in from the placeholder’s left edge, never past its right edge.
Trait Implementations§
Source§impl Clone for EmptySlotCaret
impl Clone for EmptySlotCaret
impl Copy for EmptySlotCaret
Source§impl Debug for EmptySlotCaret
impl Debug for EmptySlotCaret
Source§impl Default for EmptySlotCaret
impl Default for EmptySlotCaret
Source§impl PartialEq for EmptySlotCaret
impl PartialEq for EmptySlotCaret
impl StructuralPartialEq for EmptySlotCaret
Auto Trait Implementations§
impl Freeze for EmptySlotCaret
impl RefUnwindSafe for EmptySlotCaret
impl Send for EmptySlotCaret
impl Sync for EmptySlotCaret
impl Unpin for EmptySlotCaret
impl UnsafeUnpin for EmptySlotCaret
impl UnwindSafe for EmptySlotCaret
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