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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineCaretIntersection
Source§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 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 UnsafeUnpin 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