pub enum LineCaretIntersection {
NoIntersection,
AdvanceCaretTo(f32),
PushCaretOntoNextLine(usize, f32),
}
Variants§
NoIntersection
OK: Caret does not interset any elements
AdvanceCaretTo(f32)
In order to not intersect with any holes, the caret needs to be advanced to the position x, but can stay on the same line.
PushCaretOntoNextLine(usize, f32)
Caret needs to advance X number of lines and be positioned with a leading of x
Trait Implementations§
Source§impl Clone for LineCaretIntersection
impl Clone for LineCaretIntersection
Source§fn clone(&self) -> LineCaretIntersection
fn clone(&self) -> LineCaretIntersection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LineCaretIntersection
impl Debug for LineCaretIntersection
Source§impl PartialEq for LineCaretIntersection
impl PartialEq for LineCaretIntersection
Source§impl PartialOrd for LineCaretIntersection
impl PartialOrd for LineCaretIntersection
impl Copy for LineCaretIntersection
impl StructuralPartialEq for LineCaretIntersection
Auto Trait Implementations§
impl Freeze for LineCaretIntersection
impl RefUnwindSafe for LineCaretIntersection
impl Send for LineCaretIntersection
impl Sync for LineCaretIntersection
impl Unpin for LineCaretIntersection
impl UnwindSafe for LineCaretIntersection
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)