pub enum HeaderHit {
Head,
Gap,
Tail(u32),
}Expand description
Which region of a collapsed block header’s display line a cell falls in.
Variants§
Head
On the header’s own text — resolve against the header row’s RowLayout.
Gap
In the … placeholder gap — clamps to the header line’s end.
Tail(u32)
On the inline closing tail: the byte column on the fold’s last row.
Trait Implementations§
impl Copy for HeaderHit
impl StructuralPartialEq for HeaderHit
Auto Trait Implementations§
impl Freeze for HeaderHit
impl RefUnwindSafe for HeaderHit
impl Send for HeaderHit
impl Sync for HeaderHit
impl Unpin for HeaderHit
impl UnsafeUnpin for HeaderHit
impl UnwindSafe for HeaderHit
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