pub struct VisibleRange {
pub version: u32,
pub first_line: u32,
pub last_line: u32,
}Expand description
The lines of a code editor that are on screen.
Fields§
§version: u32§first_line: u32The first line the reader can see.
last_line: u32The last line the reader can see. Lines a fold hides are not counted.
Trait Implementations§
Source§impl Clone for VisibleRange
impl Clone for VisibleRange
impl Copy for VisibleRange
Source§impl Debug for VisibleRange
impl Debug for VisibleRange
impl Eq for VisibleRange
Source§impl PartialEq for VisibleRange
impl PartialEq for VisibleRange
impl StructuralPartialEq for VisibleRange
Auto Trait Implementations§
impl Freeze for VisibleRange
impl RefUnwindSafe for VisibleRange
impl Send for VisibleRange
impl Sync for VisibleRange
impl Unpin for VisibleRange
impl UnsafeUnpin for VisibleRange
impl UnwindSafe for VisibleRange
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